aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest/uhd_test_base.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-05-28 13:27:10 +0200
committermichael-west <michael.west@ettus.com>2021-06-02 21:49:39 -0700
commit5f8142e543bb3f5b948c246ca648327849e96faa (patch)
treec2d0d675b3b9f06dda92aed9cc4d4448a8c02543 /host/tests/devtest/uhd_test_base.py
parentc7c2f186b470c6cd02cd24c6d95f13758869859f (diff)
downloaduhd-5f8142e543bb3f5b948c246ca648327849e96faa.tar.gz
uhd-5f8142e543bb3f5b948c246ca648327849e96faa.tar.bz2
uhd-5f8142e543bb3f5b948c246ca648327849e96faa.zip
tests: Make python_api_test.py always explicitly call Python
This change makes it such that python_api_test.py will spawn a subprocess for multi_usrp_test.py by explicitly calling the Python interpreter, and making the path to multi_usrp_test.py the first argument. This fixes running this devtest after installing Python tests via ipks on embedded devices.
Diffstat (limited to 'host/tests/devtest/uhd_test_base.py')
-rwxr-xr-xhost/tests/devtest/uhd_test_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/tests/devtest/uhd_test_base.py b/host/tests/devtest/uhd_test_base.py
index 698ba4be3..173b91053 100755
--- a/host/tests/devtest/uhd_test_base.py
+++ b/host/tests/devtest/uhd_test_base.py
@@ -56,7 +56,7 @@ def filter_stderr(stderr, run_results=None):
#--------------------------------------------------------------------------
# Application
#--------------------------------------------------------------------------
-class shell_application(object):
+class shell_application:
"""
Wrapper for applications that are in $PATH.
Note: The CMake infrastructure makes sure all examples and utils are in $PATH.