Skip to content

Commit 6c7376d

Browse files
committed
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
2 parents 9abb16b + 02c7efa commit 6c7376d

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Documentation/dev-tools/kunit/start.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,18 @@ or ``VFAT_FS``. To run ``FAT_KUNIT_TEST``, the ``.kunitconfig`` has:
4141
CONFIG_MSDOS_FS=y
4242
CONFIG_FAT_KUNIT_TEST=y
4343
44-
1. A good starting point for the ``.kunitconfig``, is the KUnit default
45-
config. Run the command:
44+
1. A good starting point for the ``.kunitconfig`` is the KUnit default config.
45+
You can generate it by running:
4646

4747
.. code-block:: bash
4848
4949
cd $PATH_TO_LINUX_REPO
50-
cp tools/testing/kunit/configs/default.config .kunitconfig
50+
tools/testing/kunit/kunit.py config
51+
cat .kunit/.kunitconfig
52+
53+
.. note ::
54+
``.kunitconfig`` lives in the ``--build_dir`` used by kunit.py, which is
55+
``.kunit`` by default.
5156
5257
.. note ::
5358
You may want to remove CONFIG_KUNIT_ALL_TESTS from the ``.kunitconfig`` as

0 commit comments

Comments
 (0)