kcsan: Make test follow KUnit style recommendations
authorMarco Elver <elver@google.com>
Wed, 13 Jan 2021 16:05:56 +0000 (17:05 +0100)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 8 Mar 2021 22:27:43 +0000 (14:27 -0800)
commita146fed56f8a06a6f17ac11ebdc7ca3f396bcb55
tree4cb485e303eb898467b4a0d73f64c6ee76d0ed62
parente36299efe7d749976fbdaaf756dee6ef32543c2c
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>
kernel/kcsan/Makefile
kernel/kcsan/kcsan_test.c [moved from kernel/kcsan/kcsan-test.c with 99% similarity]
lib/Kconfig.kcsan