Commit ad659ccb5412 ("kunit: tool: Default --jobs to number of CPUs") changed the --jobs flag from a hard-coded value of 8 to basically `nproc`. Therefore, most users should probably not need to bother to tweak this flag. Having it near the top of the page is more noise than anything. Signed-off-by: Daniel Latypov <dlatypov@xxxxxxxxxx> --- Documentation/dev-tools/kunit/run_wrapper.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/dev-tools/kunit/run_wrapper.rst b/Documentation/dev-tools/kunit/run_wrapper.rst index 653985ce9cae..1fccf2e099f7 100644 --- a/Documentation/dev-tools/kunit/run_wrapper.rst +++ b/Documentation/dev-tools/kunit/run_wrapper.rst @@ -30,10 +30,9 @@ We may want to use the following options: .. code-block:: - ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all + ./tools/testing/kunit/kunit.py run --timeout=30 - ``--timeout`` sets a maximum amount of time for tests to run. -- ``--jobs`` sets the number of threads to build the kernel. kunit_tool will generate a ``.kunitconfig`` with a default configuration, if no other ``.kunitconfig`` file exists @@ -237,6 +236,9 @@ command line arguments: compiling a kernel (using ``build`` or ``run`` commands). For example: to enable compiler warnings, we can pass ``--make_options W=1``. +- ``--jobs``: The ``-j`` argument to ``make`` when building the kernel. + Defaults to the same value as ``nproc``. + - ``--alltests``: Builds a UML kernel with all config options enabled using ``make allyesconfig``. This allows us to run as many tests as possible. -- 2.36.1.255.ge46751e96f-goog