[lkml]   [2019]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH 2/6] docs/kunit/start: Skip wrapper run command
From: SeongJae Park <>

The kunit 'Getting Started' document first shows the wrapper running
command. However, a new user who simply following the command might
encounter a failure like below:

$ ./tools/testing/kunit/ run
Traceback (most recent call last):
File "./tools/testing/kunit/", line 140, in <module>
File "./tools/testing/kunit/", line 126, in main
linux = kunit_kernel.LinuxSourceTree()
File "/home/sjpark/linux/tools/testing/kunit/", line 85, in __init__
File "/home/sjpark/linux/tools/testing/kunit/", line 65, in read_from_file
with open(path, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'kunitconfig'

Though the reason of the failure ('kunitconfig') is explained in its
next section, it would be better to reduce any failure that user might
encounter. This commit removes the example command for the reason.

Signed-off-by: SeongJae Park <>
Documentation/dev-tools/kunit/start.rst | 6 ------
1 file changed, 6 deletions(-)

diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst
index 78a0aed..e25978d 100644
--- a/Documentation/dev-tools/kunit/start.rst
+++ b/Documentation/dev-tools/kunit/start.rst
@@ -15,12 +15,6 @@ Included with KUnit is a simple Python wrapper that helps format the output to
easily use and read KUnit output. It handles building and running the kernel, as
well as formatting the output.

-The wrapper can be run with:
-.. code-block:: bash
- ./tools/testing/kunit/ run
Creating a kunitconfig
The Python script is a thin wrapper around Kbuild as such, it needs to be
 \ /
  Last update: 2019-12-02 00:26    [W:0.159 / U:2.844 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site