From 21ed72b5a219c7d3d4cc87afa61410aff56f30a7 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 7 Nov 2019 15:20:40 -0800 Subject: devtese: Change default Python interpreter to 3 Usually, devtest is run via make (or ninja), and will use the correct Python interpreter. When running directly on the command line, it is important to pick the right Python interpreter so it will work with the Python API. Here, we change the default interpreter from Python 2 to 3, because that's the more common version, and will be the only option for upcoming UHD 4.0 anyway. --- host/tests/devtest/benchmark_rate_test.py | 2 +- host/tests/devtest/multi_usrp_test.py | 2 +- host/tests/devtest/python_api_test.py | 2 +- host/tests/devtest/run_testsuite.py | 2 +- host/tests/devtest/rx_samples_to_file_test.py | 2 +- host/tests/devtest/test_messages_test.py | 2 +- host/tests/devtest/test_pps_test.py | 2 +- host/tests/devtest/tx_bursts_test.py | 2 +- host/tests/devtest/tx_waveforms_test.py | 2 +- host/tests/devtest/uhd_test_base.py | 2 +- host/tests/devtest/usrp_probe.py | 2 +- host/tests/devtest/usrp_probe_test.py | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'host/tests') diff --git a/host/tests/devtest/benchmark_rate_test.py b/host/tests/devtest/benchmark_rate_test.py index da7aacd36..cbc5d9f8d 100755 --- a/host/tests/devtest/benchmark_rate_test.py +++ b/host/tests/devtest/benchmark_rate_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015-2016 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/multi_usrp_test.py b/host/tests/devtest/multi_usrp_test.py index 2bb15a0d0..d18ec1f67 100755 --- a/host/tests/devtest/multi_usrp_test.py +++ b/host/tests/devtest/multi_usrp_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2018 Ettus Research, a National Instruments Company # diff --git a/host/tests/devtest/python_api_test.py b/host/tests/devtest/python_api_test.py index d76400188..feccd91f9 100644 --- a/host/tests/devtest/python_api_test.py +++ b/host/tests/devtest/python_api_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2018 Ettus Research, a National Instruments Company # diff --git a/host/tests/devtest/run_testsuite.py b/host/tests/devtest/run_testsuite.py index 9f557a946..650f34fa3 100755 --- a/host/tests/devtest/run_testsuite.py +++ b/host/tests/devtest/run_testsuite.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015-2016 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/rx_samples_to_file_test.py b/host/tests/devtest/rx_samples_to_file_test.py index 4d95ff6ef..b56b972e2 100755 --- a/host/tests/devtest/rx_samples_to_file_test.py +++ b/host/tests/devtest/rx_samples_to_file_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/test_messages_test.py b/host/tests/devtest/test_messages_test.py index eb39c29f7..c66e96670 100644 --- a/host/tests/devtest/test_messages_test.py +++ b/host/tests/devtest/test_messages_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/test_pps_test.py b/host/tests/devtest/test_pps_test.py index bccb9bed9..4fb2cfddd 100755 --- a/host/tests/devtest/test_pps_test.py +++ b/host/tests/devtest/test_pps_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/tx_bursts_test.py b/host/tests/devtest/tx_bursts_test.py index 513c2a303..7d790ff25 100755 --- a/host/tests/devtest/tx_bursts_test.py +++ b/host/tests/devtest/tx_bursts_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/tx_waveforms_test.py b/host/tests/devtest/tx_waveforms_test.py index 5a07fbe84..4d555b48c 100644 --- a/host/tests/devtest/tx_waveforms_test.py +++ b/host/tests/devtest/tx_waveforms_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2019 Ettus Research, a National Instruments Brand # diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py index 8d965eef7..c2f987af4 100755 --- a/host/tests/devtest/uhd_test_base.py +++ b/host/tests/devtest/uhd_test_base.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015-2016 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/usrp_probe.py b/host/tests/devtest/usrp_probe.py index c7b73288e..6e1f32cef 100644 --- a/host/tests/devtest/usrp_probe.py +++ b/host/tests/devtest/usrp_probe.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015-2016 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company diff --git a/host/tests/devtest/usrp_probe_test.py b/host/tests/devtest/usrp_probe_test.py index 73592b755..c1f50a7cb 100755 --- a/host/tests/devtest/usrp_probe_test.py +++ b/host/tests/devtest/usrp_probe_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright 2015 Ettus Research LLC # Copyright 2018 Ettus Research, a National Instruments Company -- cgit v1.2.3