Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_ALL_TESTS

This makes it easier to enable all KUnit fragments.

Adding 'if !KUNIT_ALL_TESTS' so individual tests can not be turned off.
Therefore if KUNIT_ALL_TESTS is enabled that will hide the prompt in
menuconfig.

Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Anders Roxell and committed by
Shuah Khan
5f215aab beaed42c

+4 -2
+4 -2
lib/Kconfig.debug
··· 2064 2064 If unsure, say N. 2065 2065 2066 2066 config SYSCTL_KUNIT_TEST 2067 - tristate "KUnit test for sysctl" 2067 + tristate "KUnit test for sysctl" if !KUNIT_ALL_TESTS 2068 2068 depends on KUNIT 2069 + default KUNIT_ALL_TESTS 2069 2070 help 2070 2071 This builds the proc sysctl unit test, which runs on boot. 2071 2072 Tests the API contract and implementation correctness of sysctl. ··· 2076 2075 If unsure, say N. 2077 2076 2078 2077 config LIST_KUNIT_TEST 2079 - tristate "KUnit Test for Kernel Linked-list structures" 2078 + tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_ALL_TESTS 2080 2079 depends on KUNIT 2080 + default KUNIT_ALL_TESTS 2081 2081 help 2082 2082 This builds the linked list KUnit test suite. 2083 2083 It tests that the API and basic functionality of the list_head type