diff options
author | Michael West <michael.west@ettus.com> | 2020-04-29 15:46:31 -0700 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-04-30 15:14:28 -0500 |
commit | b8b1d28d14ded2f59c7b35f8d0a45764e221088d (patch) | |
tree | e0d9aa3d096fcb1683b2abe832c755aa175a3310 /host | |
parent | 022cfa3d80ddac3589ff01ff36a231760190a418 (diff) | |
download | uhd-b8b1d28d14ded2f59c7b35f8d0a45764e221088d.tar.gz uhd-b8b1d28d14ded2f59c7b35f8d0a45764e221088d.tar.bz2 uhd-b8b1d28d14ded2f59c7b35f8d0a45764e221088d.zip |
test: Add output for gpio_test
Print output from stdout and stderr upon error.
Signed-off-by: Michael West <michael.west@ettus.com>
Diffstat (limited to 'host')
-rwxr-xr-x | host/tests/devtest/gpio_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/tests/devtest/gpio_test.py b/host/tests/devtest/gpio_test.py index 0112883e6..4681d69ce 100755 --- a/host/tests/devtest/gpio_test.py +++ b/host/tests/devtest/gpio_test.py @@ -32,6 +32,9 @@ class gpio_test(uhd_example_test_case): app.returncode == 0, re.search('All tests passed!', app.stdout) is not None, ]) + if not run_results['passed']: + print(app.stdout) + print(app.stderr) self.report_example_results(test_name, run_results) return run_results |