aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests/devtest/multi_usrp_test.py
diff options
context:
space:
mode:
authorVidush <vidush.vishwanath@ettus.com>2018-07-25 14:30:25 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-08-10 11:42:47 -0700
commit5b55a32c922c56848bdf6fc023828f3c6a3a07f1 (patch)
tree89a91ec9a61e930950b95f80e71c2771ba688f8f /host/tests/devtest/multi_usrp_test.py
parent318e406b6ffd963900998a2a393b0d4289eb36be (diff)
downloaduhd-5b55a32c922c56848bdf6fc023828f3c6a3a07f1.tar.gz
uhd-5b55a32c922c56848bdf6fc023828f3c6a3a07f1.tar.bz2
uhd-5b55a32c922c56848bdf6fc023828f3c6a3a07f1.zip
devtest: Integrate Python API Tester into Devtest
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())