Merge tag 'pwm/for-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry...
[linux-2.6-microblaze.git] / Documentation / dev-tools / kunit / running_tips.rst
index d1626d5..30d2147 100644 (file)
@@ -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
 ------------------------------------------