summaryrefslogtreecommitdiff
path: root/Documentation/dev-tools/kunit/start.rst
diff options
context:
space:
mode:
authorSeongJae Park <sjpark@amazon.de>2020-10-21 21:25:18 +0200
committerShuah Khan <skhan@linuxfoundation.org>2020-10-26 13:24:46 -0600
commitf0b62039bf7f998fb3f1369ac70dbe571c74f9d8 (patch)
tree8f6329f15aebc26743a25c2dcd27815875808bf5 /Documentation/dev-tools/kunit/start.rst
parent7f32b10c6b461a369b9741623cd3f722134066f0 (diff)
Documentation: kunit: Update Kconfig parts for KUNIT's module support
If 'CONFIG_KUNIT=m', letting kunit tests that do not support loadable module build depends on 'KUNIT' instead of 'KUNIT=y' result in compile errors. This commit updates the document for this. Fixes: 9fe124bf1b77 ("kunit: allow kunit to be loaded as a module") Signed-off-by: SeongJae Park <sjpark@amazon.de> Reviewed-by: David Gow <davidgow@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/dev-tools/kunit/start.rst')
-rw-r--r--Documentation/dev-tools/kunit/start.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kunit/start.rst b/Documentation/dev-tools/kunit/start.rst
index d23385e3e159..454f307813ea 100644
--- a/Documentation/dev-tools/kunit/start.rst
+++ b/Documentation/dev-tools/kunit/start.rst
@@ -197,7 +197,7 @@ Now add the following to ``drivers/misc/Kconfig``:
config MISC_EXAMPLE_TEST
bool "Test for my example"
- depends on MISC_EXAMPLE && KUNIT
+ depends on MISC_EXAMPLE && KUNIT=y
and the following to ``drivers/misc/Makefile``: