diff options
author | Trung N Tran <trung.tran@ettus.com> | 2018-05-02 11:43:38 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2018-05-02 12:02:43 -0700 |
commit | 181065f4fffe8d873157a4f46e6c7634849dd918 (patch) | |
tree | 2d26b3fd11a12f272fb1b7b2611576101b28b749 /host/tests | |
parent | c13cb9ec43e8bc1fe8118333a5456a9f77a43ac0 (diff) | |
download | uhd-181065f4fffe8d873157a4f46e6c7634849dd918.tar.gz uhd-181065f4fffe8d873157a4f46e6c7634849dd918.tar.bz2 uhd-181065f4fffe8d873157a4f46e6c7634849dd918.zip |
dev_test: usrp_prope.py update to find reachable mpm device
Diffstat (limited to 'host/tests')
-rw-r--r-- | host/tests/devtest/usrp_probe.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/tests/devtest/usrp_probe.py b/host/tests/devtest/usrp_probe.py index 76e531906..64d04f0d2 100644 --- a/host/tests/devtest/usrp_probe.py +++ b/host/tests/devtest/usrp_probe.py @@ -26,6 +26,8 @@ def get_usrp_list(device_filter=None, env=None): if not re.match("Device Address", uhd_string): continue this_result = {k: v for k, v in re.findall(" ([a-z]+): (.*)", uhd_string)} + if (this_result.get('reachable',None)) == "No": + continue args_string = "" try: args_string = "type={},serial={}".format(this_result['type'], this_result['serial']) |