nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group
[linux-2.6-microblaze.git] / lib / Kconfig.debug
index 5ddd575..84e0500 100644 (file)
@@ -2078,8 +2078,9 @@ config TEST_MIN_HEAP
          If unsure, say N.
 
 config TEST_SORT
-       tristate "Array-based sort test"
-       depends on DEBUG_KERNEL || m
+       tristate "Array-based sort test" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       default KUNIT_ALL_TESTS
        help
          This option enables the self-test function of 'sort()' at boot,
          or at module load time.
@@ -2460,8 +2461,7 @@ config SLUB_KUNIT_TEST
 
 config RATIONAL_KUNIT_TEST
        tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
-       depends on KUNIT
-       select RATIONAL
+       depends on KUNIT && RATIONAL
        default KUNIT_ALL_TESTS
        help
          This builds the rational math unit test.