diff mbox series

[GIT,PULL] KUnit update for Linux 5.18-rc2

Message ID f8e5687f-958b-c97b-4ddb-7bbfbdfa036f@linuxfoundation.org
State New
Headers show
Series [GIT,PULL] KUnit update for Linux 5.18-rc2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-5.18-rc2

Commit Message

Shuah Khan April 8, 2022, 6:55 p.m. UTC
Hi Linus,

Please pull the following KUnit fixes update for Linux 5.18-rc2.

This KUnit update for Linux 5.18-rc2 consists of a single documentation
fix to incorrect and outdated usage information.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

   Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux-kselftest-kunit-fixes-5.18-rc2

for you to fetch changes up to 02c7efa43627163e489a8db87882445a0ff381f7:

   Documentation: kunit: fix path to .kunitconfig in start.rst (2022-04-04 12:02:44 -0600)

----------------------------------------------------------------
linux-kselftest-kunit-fixes-5.18-rc2

This KUnit update for Linux 5.18-rc2 consists of a single documentation
fix to incorrect and outdated usage information.

----------------------------------------------------------------
Daniel Latypov (1):
       Documentation: kunit: fix path to .kunitconfig in start.rst

  Documentation/dev-tools/kunit/start.rst | 11 ++++++++---
  1 file changed, 8 insertions(+), 3 deletions(-)
----------------------------------------------------------------
diff mbox series

Patch

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