diff options
author | Martin Braun <martin.braun@ettus.com> | 2018-08-03 21:17:50 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-08-10 11:42:47 -0700 |
commit | 318e406b6ffd963900998a2a393b0d4289eb36be (patch) | |
tree | 013a2a2fff7fe8d7a3b90e539dcba391326987e5 /host/tests/devtest/usrp_probe.py | |
parent | 2e838250863eb7f4e0c7d3800174b8ccc8dc2da9 (diff) | |
download | uhd-318e406b6ffd963900998a2a393b0d4289eb36be.tar.gz uhd-318e406b6ffd963900998a2a393b0d4289eb36be.tar.bz2 uhd-318e406b6ffd963900998a2a393b0d4289eb36be.zip |
devtest: Add more env vars, make Py3k compatible
The testsuite now includes more environment variables for source dir,
build dir, and PYTHONPATH.
Diffstat (limited to 'host/tests/devtest/usrp_probe.py')
-rw-r--r-- | host/tests/devtest/usrp_probe.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/tests/devtest/usrp_probe.py b/host/tests/devtest/usrp_probe.py index 53d971707..43dd999c1 100644 --- a/host/tests/devtest/usrp_probe.py +++ b/host/tests/devtest/usrp_probe.py @@ -7,6 +7,7 @@ # """ Run uhd_find_devices and parse the output. """ +from __future__ import print_function import re import subprocess @@ -38,5 +39,5 @@ def get_usrp_list(device_filter=None, env=None): return result if __name__ == "__main__": - print get_usrp_list() - print get_usrp_list('type=x300') + print(get_usrp_list()) + print(get_usrp_list('type=x300')) |