lib/math/rational: add Kunit test cases
[sfrench/cifs-2.6.git] / lib / Kconfig.debug
index deca67d28abba6851afe7aae1830e492a104e354..ea9a4096007d62976bfc3e5f2f1a9503d7f9be55 100644 (file)
@@ -2444,6 +2444,18 @@ config SLUB_KUNIT_TEST
 
          If unsure, say N.
 
+config RATIONAL_KUNIT_TEST
+       tristate "KUnit test for rational.c" if !KUNIT_ALL_TESTS
+       depends on KUNIT
+       select RATIONAL
+       default KUNIT_ALL_TESTS
+       help
+         This builds the rational math unit test.
+         For more information on KUnit and unit tests in general please refer
+         to the KUnit documentation in Documentation/dev-tools/kunit/.
+
+         If unsure, say N.
+
 config TEST_UDELAY
        tristate "udelay test driver"
        help