Skip to contentSkip to conversation

KUnit update for Linux 5.18-rc2

GIT PULL Merged Shuah Khan 2 participants 2 messages Apr 8, 2022 – Apr 9, 2022

Subsystems (4)
lore
Share & tools
lore

Shuah Khan

author maintainer
#0 lore raw

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(-)

----------------------------------------------------------------

Documentation/dev-tools/kunit/start.rst +8 -3
index ad168d16968f..867a4bba6bf6 100644
@@ -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
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 8 Apr 2022 12:55:58 -0600:

The pull request you sent on Fri, 8 Apr 2022 12:55:58 -0600:

Quoted 1 line

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

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6c7376da23587738ab0e84b8b90b6cc02db5181e

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html