From 181065f4fffe8d873157a4f46e6c7634849dd918 Mon Sep 17 00:00:00 2001 From: Trung N Tran Date: Wed, 2 May 2018 11:43:38 -0700 Subject: dev_test: usrp_prope.py update to find reachable mpm device --- host/tests/devtest/usrp_probe.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/tests') 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']) -- cgit v1.2.3