Commit e98c4f6a authored by David Gow's avatar David Gow Committed by Shuah Khan

Documentation: kunit: Update description of --alltests option

kunit_tool's --alltests option was changed in commit
980ac3ad ("kunit: tool: rename all_test_uml.config, use it for --alltests")
to use a manually curated list of architecture-indpendent Kconfig
options, rather than attempting to use make allyesconfig on UML, which
was broken.

Update the kunit_tool documentation to reflect the new behaviour of
--alltests.
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Reviewed-by: default avatarDaniel Latypov <dlatypov@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent c1144e01
...@@ -251,14 +251,15 @@ command line arguments: ...@@ -251,14 +251,15 @@ command line arguments:
compiling a kernel (using ``build`` or ``run`` commands). For example: compiling a kernel (using ``build`` or ``run`` commands). For example:
to enable compiler warnings, we can pass ``--make_options W=1``. to enable compiler warnings, we can pass ``--make_options W=1``.
- ``--alltests``: Builds a UML kernel with all config options enabled - ``--alltests``: Enable a predefined set of options in order to build
using ``make allyesconfig``. This allows us to run as many tests as as many tests as possible.
possible.
.. note:: The list of enabled options can be found in
.. note:: It is slow and prone to breakage as new options are ``tools/testing/kunit/configs/all_tests.config``.
added or modified. Instead, enable all tests
which have satisfied dependencies by adding If you only want to enable all tests with otherwise satisfied
``CONFIG_KUNIT_ALL_TESTS=y`` to your ``.kunitconfig``. dependencies, instead add ``CONFIG_KUNIT_ALL_TESTS=y`` to your
``.kunitconfig``.
- ``--kunitconfig``: Specifies the path or the directory of the ``.kunitconfig`` - ``--kunitconfig``: Specifies the path or the directory of the ``.kunitconfig``
file. For example: file. For example:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment