summaryrefslogtreecommitdiff
path: root/tools/testing/kunit/configs
diff options
context:
space:
mode:
authorBrendan Higgins <brendanhiggins@google.com>2019-09-23 12:02:44 +0300
committerShuah Khan <skhan@linuxfoundation.org>2019-10-01 02:35:01 +0300
commitff7b437f36b026dcd7351f86a90a0424c891dc06 (patch)
tree7ae9633d9ca1571fe96a5486aab80b4088a6a46e /tools/testing/kunit/configs
parent6ebf5866f2e870cf9451a2068c787bc2b30025e9 (diff)
downloadlinux-ff7b437f36b026dcd7351f86a90a0424c891dc06.tar.xz
kunit: defconfig: add defconfigs for building KUnit tests
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by: Logan Gunthorpe <logang@deltatee.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/testing/kunit/configs')
-rw-r--r--tools/testing/kunit/configs/all_tests.config3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/kunit/configs/all_tests.config b/tools/testing/kunit/configs/all_tests.config
new file mode 100644
index 000000000000..9235b7d42d38
--- /dev/null
+++ b/tools/testing/kunit/configs/all_tests.config
@@ -0,0 +1,3 @@
+CONFIG_KUNIT=y
+CONFIG_KUNIT_TEST=y
+CONFIG_KUNIT_EXAMPLE_TEST=y