summaryrefslogtreecommitdiffstats
path: root/tools/testing/kunit/configs
diff options
context:
space:
mode:
authorDavid Gow <davidgow@google.com>2021-05-22 06:42:40 +0200
committerShuah Khan <skhan@linuxfoundation.org>2021-06-24 01:49:17 +0200
commitd9d6b8225e7319fde69b1aa59c3bb66d501f3845 (patch)
treecc32e1dff66ba432b6a71c0dfea728072f13b76e /tools/testing/kunit/configs
parentkunit: arch/um/configs: Enable KUNIT_ALL_TESTS by default (diff)
downloadlinux-d9d6b8225e7319fde69b1aa59c3bb66d501f3845.tar.xz
linux-d9d6b8225e7319fde69b1aa59c3bb66d501f3845.zip
kunit: Move default config from arch/um -> tools/testing/kunit
The default .kunitconfig file is currently kept in arch/um/configs/kunit_defconfig, but -- with the impending QEMU patch -- will no-longer be exclusively used for UML-based kernels. Move it alongside the other KUnit configs in tools/testing/kunit/configs, and give it a name which matches the existing all_tests.config and broken_on_uml.config files. Also update the Getting Started documentation to point to the new file. Signed-off-by: David Gow <davidgow@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/configs')
-rw-r--r--tools/testing/kunit/configs/default.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/kunit/configs/default.config b/tools/testing/kunit/configs/default.config
new file mode 100644
index 000000000000..e67af7b9f1bb
--- /dev/null
+++ b/tools/testing/kunit/configs/default.config
@@ -0,0 +1,3 @@
+CONFIG_KUNIT=y
+CONFIG_KUNIT_EXAMPLE_TEST=y
+CONFIG_KUNIT_ALL_TESTS=y