aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest/multi_usrp_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'host/tests/devtest/multi_usrp_test.py')
-rwxr-xr-xhost/tests/devtest/multi_usrp_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/host/tests/devtest/multi_usrp_test.py b/host/tests/devtest/multi_usrp_test.py
index 2ecfbb4c0..2bb15a0d0 100755
--- a/host/tests/devtest/multi_usrp_test.py
+++ b/host/tests/devtest/multi_usrp_test.py
@@ -618,7 +618,10 @@ def main():
"""
args = parse_args()
usrp = uhd.usrp.MultiUSRP(args.args)
- return run_api_test(usrp)
+ ret_val = run_api_test(usrp)
+ if ret_val != 1:
+ raise Exception("Python API Tester Received Errors")
+ return ret_val
if __name__ == "__main__":
exit(not main())