diff options
author | Daniel Latypov <[email protected]> | 2021-07-15 09:08:19 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2021-08-13 13:28:47 -0600 |
commit | 6cb51a1874d0617579a6bf095b87a510f7dc07ba (patch) | |
tree | dc4b5bd7e701c521bfd76d489dbced02e30f9902 /tools/testing/kunit/kunit_parser.py | |
parent | 1195505f5de2adfee5f277433f0b35498467cc64 (diff) |
kunit: tool: add --kernel_args to allow setting module params
kunit.py currently does not make it possible for users to specify module
parameters (/kernel arguments more generally) unless one directly tweaks
the kunit.py code itself.
This hasn't mattered much so far, but this would make it easier to port
existing tests that expose module parameters over to KUnit and/or let
current KUnit tests take advantage of them.
Tested using an kunit internal parameter:
$ ./tools/testing/kunit/kunit.py run --kunitconfig=lib/kunit \
--kernel_args=kunit.filter_glob=kunit_status
...
Testing complete. 2 tests run. 0 failed. 0 crashed. 0 skipped.
Signed-off-by: Daniel Latypov <[email protected]>
Reviewed-by: David Gow <[email protected]>
Reviewed-by: Brendan Higgins <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/testing/kunit/kunit_parser.py')
0 files changed, 0 insertions, 0 deletions