Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH v2 1/6] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment
@ 2020-05-05 10:27 Anders Roxell
  2020-05-06  5:08 ` David Gow
  0 siblings, 1 reply; 4+ messages in thread
From: Anders Roxell @ 2020-05-05 10:27 UTC (permalink / raw)
  To: brendanhiggins
  Cc: john.johansen, jmorris, serge, tytso, adilger.kernel, gregkh,
	akpm, linux-kselftest, kunit-dev, linux-kernel, linux-ext4,
	linux-security-module, elver, davidgow, Anders Roxell

Make it easier to enable all KUnit fragments.  This is needed for kernel
test-systems, so its easy to get all KUnit tests enabled and if new gets
added they will be enabled as well.  Fragments that has to be builtin
will be missed if CONFIG_KUNIT_RUN_ALL is set as a module.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 lib/kunit/Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/kunit/Kconfig b/lib/kunit/Kconfig
index 95d12e3d6d95..537f37bc8400 100644
--- a/lib/kunit/Kconfig
+++ b/lib/kunit/Kconfig
@@ -41,4 +41,10 @@ config KUNIT_EXAMPLE_TEST
 	  is intended for curious hackers who would like to understand how to
 	  use KUnit for kernel development.
 
+config KUNIT_RUN_ALL
+	tristate "KUnit run all test"
+	help
+	  Enables all KUnit tests, if they can be enabled.
+	  That depends on if KUnit is enabled as a module or builtin.
+
 endif # KUNIT
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-07  3:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-05 10:27 [PATCH v2 1/6] kunit: Kconfig: enable a KUNIT_RUN_ALL fragment Anders Roxell
2020-05-06  5:08 ` David Gow
2020-05-06 10:33   ` Anders Roxell
2020-05-07  3:08     ` David Gow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox