CONFIG_LIST_KUNIT_TEST=y
- :doc:`kunit_tool <kunit-tool>` will ensure that all config options set in
- ``.kunitconfig`` are set in the kernel ``.config`` before running the tests.
- It'll warn you if you haven't included the dependencies of the options you're
- using.
+ Before running the tests, kunit_tool ensures that all config options
+ set in ``.kunitconfig`` are set in the kernel ``.config``. It will warn
+ you if you have not included dependencies for the options used.
- .. note::
+ .. note ::
- The configuration is only updated if the ``.kunitconfig`` is not a
- subset of ``.config``. You can use tools (for example:
- make menuconfig) to adjust other config options.
+ If you change the ``.kunitconfig``, kunit.py will trigger a rebuild of the
+ ``.config`` file. But you can edit the ``.config`` file directly or with
+ tools like ``make menuconfig O=.kunit``. As long as its a superset of
+ ``.kunitconfig``, kunit.py won't overwrite your changes.
-
- Running the tests (KUnit Wrapper)
- ---------------------------------
-
- To make sure that everything is set up correctly, simply invoke the Python
- wrapper from your kernel repo:
+ Running Tests (KUnit Wrapper)
+ -----------------------------
+ 1. To make sure that everything is set up correctly, invoke the Python
+ wrapper from your kernel repository:
.. code-block:: bash