diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-07 15:20:40 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-08 08:56:20 -0800 |
commit | 21ed72b5a219c7d3d4cc87afa61410aff56f30a7 (patch) | |
tree | ad6a617d1376fd75a0d4874d2b89cbc6499b926b | |
parent | d2102d5999abb383a434e12403843b30f02583f4 (diff) | |
download | uhd-21ed72b5a219c7d3d4cc87afa61410aff56f30a7.tar.gz uhd-21ed72b5a219c7d3d4cc87afa61410aff56f30a7.tar.bz2 uhd-21ed72b5a219c7d3d4cc87afa61410aff56f30a7.zip |
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.
-rwxr-xr-x | host/tests/devtest/benchmark_rate_test.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/multi_usrp_test.py | 2 | ||||
-rw-r--r-- | host/tests/devtest/python_api_test.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/run_testsuite.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/rx_samples_to_file_test.py | 2 | ||||
-rw-r--r-- | host/tests/devtest/test_messages_test.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/test_pps_test.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/tx_bursts_test.py | 2 | ||||
-rw-r--r-- | host/tests/devtest/tx_waveforms_test.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/uhd_test_base.py | 2 | ||||
-rw-r--r-- | host/tests/devtest/usrp_probe.py | 2 | ||||
-rwxr-xr-x | host/tests/devtest/usrp_probe_test.py | 2 |
12 files changed, 12 insertions, 12 deletions
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 |