Lines Matching full:kunit
7 We can either run KUnit tests using kunit_tool or can run tests
9 manually, see: Documentation/dev-tools/kunit/run_manual.rst.
10 As long as we can build the kernel, we can run KUnit.
19 ./tools/testing/kunit/kunit.py run
25 Configuring KUnit Kernel ...
26 Building KUnit kernel...
27 Starting KUnit kernel...
33 ./tools/testing/kunit/kunit.py run --timeout=30 --jobs=`nproc --all`
53 ./tools/testing/kunit/kunit.py run --kunitconfig=fs/ext4/.kunitconfig
59 ./tools/testing/kunit/kunit.py run --help
65 in the KUnit ``defconfig``), we can provide Kconfig options in the
67 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/testing/kunit/configs…
76 To create a ``.kunitconfig``, using the KUnit ``defconfig``:
81 cp tools/testing/kunit/configs/default.config .kunit/.kunitconfig
99 work, therefore by default use ``make O=.kunit menuconfig``.
104 If we want to make manual changes to the KUnit build process, we
105 can run part of the KUnit build process independently.
111 ./tools/testing/kunit/kunit.py config
113 To build a KUnit kernel from the current ``.config``, we can use the
118 ./tools/testing/kunit/kunit.py build
120 If we already have built UML kernel with built-in KUnit tests, we
126 ./tools/testing/kunit/kunit.py exec
134 KUnit tests output displays results in TAP (Test Anything Protocol)
141 ./tools/testing/kunit/kunit.py run --raw_output
143 If we have KUnit results in the raw TAP format, we can parse them and
151 ./tools/testing/kunit/kunit.py parse /var/log/dmesg
153 dmesg | ./tools/testing/kunit/kunit.py parse
160 example: if we only want to run KUnit resource tests, use:
164 ./tools/testing/kunit/kunit.py run 'kunit-resource*'
177 and so on), that allow KUnit tests to be run on the specified
203 ./tools/testing/kunit/kunit.py run --arch=x86_64
210 ./tools/testing/kunit/kunit.py run \
214 If we want to run KUnit tests on an architecture not supported by
215 the ``--arch`` flag, or want to run KUnit tests on qemu using a
221 ``tools/testing/kunit/qemu_configs/x86_64.py``.
226 ``tools/testing/kunit/qemu_configs/x86_64.py``, the invocation appear
231 ./tools/testing/kunit/kunit.py run \
234 --qemu_config=./tools/testing/kunit/qemu_configs/x86_64.py
260 ``tools/testing/kunit/configs/all_tests.config``.
269 - ``lib/kunit/.kunitconfig`` can be the path of the file.
271 - ``lib/kunit`` can be the directory in which the file is located.
281 ./tools/testing/kunit/kunit.py run --kconfig_add CONFIG_KASAN=y
322 …- ``kunit``: This is the default option and filters to KUnit output. Use ``--raw_output`` or ``--r…
348 source tools/testing/kunit/kunit-completion.sh