Documentation: kunit: Modular tests should not depend on KUNIT=y
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 2 May 2023 10:06:38 +0000 (12:06 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 8 May 2023 14:39:49 +0000 (08:39 -0600)
commit78227fa03c6854e8ca23911309c763d909653c6e
tree5532ae503672eca3e690662b38f8f0964a28583b
parente30f65c4b3d671115bf2a9d9ef142285387f2aff
Documentation: kunit: Modular tests should not depend on KUNIT=y

When the documentation was updated for modular tests, the dependency on
"KUNIT=y" was forgotten to be updated, now encouraging people to create
tests that cannot be enabled when the KUNIT framework itself is modular.
Fix this by changing the dependency to "KUNIT".

Document when it is appropriate (and required) to depend on "KUNIT=y".

Fixes: c9ef2d3e3f3b ("KUnit: Docs: make start.rst example Kconfig follow style.rst")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Documentation/dev-tools/kunit/start.rst