linux-stable/Documentation/dev-tools/kunit
Daniel Latypov 6cb51a1874 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 <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2021-08-13 13:28:47 -06:00
..
api docs: dev-tools: kunit: don't use a table for docs name 2021-06-23 14:19:19 -06:00
faq.rst docs: dev-tools: kunit: avoid using ReST :doc:foo markup 2021-06-17 13:24:37 -06:00
index.rst linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00
kunit-tool.rst Documentation: kunit: document support for QEMU in kunit_tool 2021-06-11 16:05:12 -06:00
running_tips.rst kunit: tool: add --kernel_args to allow setting module params 2021-08-13 13:28:47 -06:00
start.rst linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00
style.rst KUnit: Docs: style: fix some Kconfig example issues 2020-11-10 13:39:26 -07:00
tips.rst docs: dev-tools: kunit: avoid using ReST :doc:foo markup 2021-06-17 13:24:37 -06:00
usage.rst linux-kselftest-kunit-fixes-5.14-rc1 2021-07-02 12:58:26 -07:00