diff options
author | Vidush <vidush.vishwanath@ettus.com> | 2018-07-25 14:30:25 -0700 |
---|---|---|
committer | Brent Stapleton <bstapleton@g.hmc.edu> | 2018-08-10 11:42:47 -0700 |
commit | 5b55a32c922c56848bdf6fc023828f3c6a3a07f1 (patch) | |
tree | 89a91ec9a61e930950b95f80e71c2771ba688f8f /host/tests/devtest/multi_usrp_test.py | |
parent | 318e406b6ffd963900998a2a393b0d4289eb36be (diff) | |
download | uhd-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-x | host/tests/devtest/multi_usrp_test.py | 5 |
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()) |