Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/scm...
[sfrench/cifs-2.6.git] / lib / Kconfig.debug
index ae62debfd8bfc95fa9ecf7f1dd388f00c298907f..8acc01d7d816518c93175ac60a7b17c99325b5fe 100644 (file)
@@ -2049,8 +2049,9 @@ config LKDTM
        Documentation/fault-injection/provoke-crashes.rst
 
 config TEST_LIST_SORT
-       tristate "Linked list sorting test"
-       depends on DEBUG_KERNEL || m
+       tristate "Linked list sorting test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
        help
          Enable this to turn on 'list_sort()' function test. This test is
          executed only once during system boot (so affects only boot time),