diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-09 03:06:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-04-09 03:06:11 +0200 |
commit | 6c7376da23587738ab0e84b8b90b6cc02db5181e (patch) | |
tree | 3c8a173131600c1c0291937bad60f5fde6268cd7 /Documentation | |
parent | Merge tag 'linux-kselftest-fixes-5.18-rc2' of git://git.kernel.org/pub/scm/li... (diff) | |
parent | Documentation: kunit: fix path to .kunitconfig in start.rst (diff) | |
download | linux-6c7376da23587738ab0e84b8b90b6cc02db5181e.tar.xz linux-6c7376da23587738ab0e84b8b90b6cc02db5181e.zip |
Merge tag 'linux-kselftest-kunit-fixes-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull KUnit fix from Shuah Khan:
"A single documentation fix to incorrect and outdated usage
information"
* tag 'linux-kselftest-kunit-fixes-5.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
Documentation: kunit: fix path to .kunitconfig in start.rst
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/dev-tools/kunit/start.rst | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst index ad168d16968f..867a4bba6bf6 100644 --- a/Documentation/dev-tools/kunit/start.rst +++ b/Documentation/dev-tools/kunit/start.rst @@ -41,13 +41,18 @@ or ``VFAT_FS``. To run ``FAT_KUNIT_TEST``, the ``.kunitconfig`` has: CONFIG_MSDOS_FS=y CONFIG_FAT_KUNIT_TEST=y -1. A good starting point for the ``.kunitconfig``, is the KUnit default - config. Run the command: +1. A good starting point for the ``.kunitconfig`` is the KUnit default config. + You can generate it by running: .. code-block:: bash cd $PATH_TO_LINUX_REPO - cp tools/testing/kunit/configs/default.config .kunitconfig + tools/testing/kunit/kunit.py config + cat .kunit/.kunitconfig + +.. note :: + ``.kunitconfig`` lives in the ``--build_dir`` used by kunit.py, which is + ``.kunit`` by default. .. note :: You may want to remove CONFIG_KUNIT_ALL_TESTS from the ``.kunitconfig`` as |