X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=Documentation%2Fdev-tools%2Fkunit%2Frunning_tips.rst;h=30d2147eb5b50358f710b033fb0620e11a457222;hb=d6c338a741295c04ed84679153448b2fffd2c9cf;hp=d1626d548fa528af1148e091fa53668c1cd8bbaa;hpb=69dc8010b8fca475170650a4ebbc0074541df859;p=linux-2.6-microblaze.git diff --git a/Documentation/dev-tools/kunit/running_tips.rst b/Documentation/dev-tools/kunit/running_tips.rst index d1626d548fa5..30d2147eb5b5 100644 --- a/Documentation/dev-tools/kunit/running_tips.rst +++ b/Documentation/dev-tools/kunit/running_tips.rst @@ -80,6 +80,16 @@ file ``.kunitconfig``, you can just pass in the dir, e.g. automagically, but tests could theoretically depend on incompatible options, so handling that would be tricky. +Setting kernel commandline parameters +------------------------------------- + +You can use ``--kernel_args`` to pass arbitrary kernel arguments, e.g. + +.. code-block:: bash + + $ ./tools/testing/kunit/kunit.py run --kernel_args=param=42 --kernel_args=param2=false + + Generating code coverage reports under UML ------------------------------------------