diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2021-10-29 15:08:45 -0500 |
---|---|---|
committer | Lane Kolbly <lane@rscheme.org> | 2022-03-23 21:09:39 -0500 |
commit | 24eddf75febfb56f4f6184a5e80f2817c86269e6 (patch) | |
tree | 840c37f878c87bfb0700f00b56596f1c175862af /host/tests/devtest/bitbang_test.py | |
parent | 897384aabf121383c259457313b09744c16fb55f (diff) | |
download | uhd-24eddf75febfb56f4f6184a5e80f2817c86269e6.tar.gz uhd-24eddf75febfb56f4f6184a5e80f2817c86269e6.tar.bz2 uhd-24eddf75febfb56f4f6184a5e80f2817c86269e6.zip |
test: x410: Add GPIO tests to X410 devtest
Diffstat (limited to 'host/tests/devtest/bitbang_test.py')
-rwxr-xr-x | host/tests/devtest/bitbang_test.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/host/tests/devtest/bitbang_test.py b/host/tests/devtest/bitbang_test.py index 8f6ea7598..5e4eb6e37 100755 --- a/host/tests/devtest/bitbang_test.py +++ b/host/tests/devtest/bitbang_test.py @@ -11,7 +11,9 @@ from uhd_test_base import uhd_example_test_case class bitbang_test(uhd_example_test_case): """ Run gpio --bitbang. """ - tests = {'default': {},} + tests = {'default': { + 'addl_args': [], + },} def setup_example(self): """ @@ -27,6 +29,7 @@ class bitbang_test(uhd_example_test_case): self.create_addr_args_str(), '--bitbang', ] + args += test_args['addl_args'] (app, run_results) = self.run_example('gpio', args) # Evaluate pass/fail: run_results['passed'] = all([ @@ -35,4 +38,3 @@ class bitbang_test(uhd_example_test_case): ]) self.report_example_results(test_name, run_results) return run_results - |