summaryrefslogtreecommitdiffstats
path: root/arch/um/configs
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2021-05-22 06:42:39 +0200
committerShuah Khan <skhan@linuxfoundation.org>2021-06-24 01:43:12 +0200
commitb0841b51cac92cc1d2aa15a67a86eb026eabbb46 (patch)
treed3306ab4114f01f4517535be03d975e66d447f97 /arch/um/configs
parentkunit: Add gnu_printf specifiers (diff)
downloadlinux-b0841b51cac92cc1d2aa15a67a86eb026eabbb46.tar.xz
linux-b0841b51cac92cc1d2aa15a67a86eb026eabbb46.zip
kunit: arch/um/configs: Enable KUNIT_ALL_TESTS by default
Make the default .kunitconfig (specified in arch/um/configs/kunit_defconfig) specify CONFIG_KUNIT_ALL_TESTS by default. KUNIT_ALL_TESTS runs all tests which have satisfied dependencies in the current .config (which would be the architecture defconfig). Currently, the default .kunitconfig enables only the example tests and KUnit's own tests. While this does provide a good example of what a .kunitconfig for running a few individual tests should look like, it does mean that kunit_tool runs a pretty paltry collection of tests by default. The example tests' config entry (CONFIG_KUNIT_EXAMPLE_TEST=y) continues to be included -- despite now being redundant -- to provide an example of how tests are enabled when KUNIT_ALL_TESTS is disabled. A default run of ./tools/testing/kunit/kunit.py run now runs 70 tests instead of 14. Signed-off-by: David Gow <davidgow@google.com> Acked-by: Daniel Latypov <dlatypov@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'arch/um/configs')
-rw-r--r--arch/um/configs/kunit_defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/configs/kunit_defconfig b/arch/um/configs/kunit_defconfig
index 9235b7d42d38..e67af7b9f1bb 100644
--- a/arch/um/configs/kunit_defconfig
+++ b/arch/um/configs/kunit_defconfig
@@ -1,3 +1,3 @@
CONFIG_KUNIT=y
-CONFIG_KUNIT_TEST=y
CONFIG_KUNIT_EXAMPLE_TEST=y
+CONFIG_KUNIT_ALL_TESTS=y