Lines Matching full:kunit

2 # KUnit base configuration
5 menuconfig KUNIT config
6 tristate "KUnit - Enable support for unit tests"
9 Enables support for kernel unit tests (KUnit), a lightweight unit
14 Documentation/dev-tools/kunit/.
16 if KUNIT
19 bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS
22 Enable debugfs representation for kunit. Currently this consists
23 of /sys/kernel/debug/kunit/<test_suite>/results files for each
28 bool "Enable KUnit tests which print BUG stacktraces"
33 Enables fault handling tests for the KUnit framework. These tests may
39 tristate "KUnit test for KUnit" if !KUNIT_ALL_TESTS
42 Enables the unit tests for the KUnit test framework. These tests test
43 the KUnit test framework itself; the tests are both written using
44 KUnit and test KUnit. This option should only be enabled for testing
45 purposes by developers interested in testing that KUnit works as
49 tristate "Example test for KUnit" if !KUNIT_ALL_TESTS
53 features of KUnit. This test only exists to help new users understand
54 what KUnit is and how it is used. Please refer to the example test
55 itself, lib/kunit/example-test.c, for more information. This option
57 use KUnit for kernel development.
60 tristate "All KUnit tests with satisfied dependencies"
62 Enables all KUnit tests, if they can be enabled.
63 KUnit tests run during boot and output the results to the debug log
65 running the KUnit test harness, and not intended for inclusion into a
68 For more information on KUnit and unit tests in general please refer
69 to the KUnit documentation in Documentation/dev-tools/kunit/.
74 bool "Default value of kunit.enable"
77 Sets the default value of kunit.enable. If set to N then KUnit
78 tests will not execute unless kunit.enable=1 is passed to the
85 bool "Default value of kunit.autorun"
88 Sets the default value of kunit.autorun. If set to N then KUnit
89 tests will not run after initialization unless kunit.autorun=1 is
100 Sets the default timeout, in seconds, for Kunit test cases. This value
109 endif # KUNIT