diff options
author | Marco Elver <elver@google.com> | 2021-01-13 19:05:56 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-03-09 01:27:43 +0300 |
commit | a146fed56f8a06a6f17ac11ebdc7ca3f396bcb55 (patch) | |
tree | 4cb485e303eb898467b4a0d73f64c6ee76d0ed62 /lib | |
parent | e36299efe7d749976fbdaaf756dee6ef32543c2c (diff) | |
download | linux-a146fed56f8a06a6f17ac11ebdc7ca3f396bcb55.tar.xz |
kcsan: Make test follow KUnit style recommendations
Per recently added KUnit style recommendations at
Documentation/dev-tools/kunit/style.rst, make the following changes to
the KCSAN test:
1. Rename 'kcsan-test.c' to 'kcsan_test.c'.
2. Rename suite name 'kcsan-test' to 'kcsan'.
3. Rename CONFIG_KCSAN_TEST to CONFIG_KCSAN_KUNIT_TEST and
default to KUNIT_ALL_TESTS.
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig.kcsan | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig.kcsan b/lib/Kconfig.kcsan index f271ff5fbb5a..0440f373248e 100644 --- a/lib/Kconfig.kcsan +++ b/lib/Kconfig.kcsan @@ -69,8 +69,9 @@ config KCSAN_SELFTEST panic. Recommended to be enabled, ensuring critical functionality works as intended. -config KCSAN_TEST - tristate "KCSAN test for integrated runtime behaviour" +config KCSAN_KUNIT_TEST + tristate "KCSAN test for integrated runtime behaviour" if !KUNIT_ALL_TESTS + default KUNIT_ALL_TESTS depends on TRACEPOINTS && KUNIT select TORTURE_TEST help |