@@ -138,7 +138,7 @@ Now add the following to ``drivers/misc/Kconfig``:
.. code-block:: kconfig
- config MISC_EXAMPLE_TEST
+ config MISC_EXAMPLE_KUNIT_TEST
bool "Test for my example"
depends on MISC_EXAMPLE && KUNIT
@@ -146,14 +146,14 @@ and the following to ``drivers/misc/Makefile``:
.. code-block:: make
- obj-$(CONFIG_MISC_EXAMPLE_TEST) += example-test.o
+ obj-$(CONFIG_MISC_EXAMPLE_KUNIT_TEST) += example-test.o
Now add it to your ``.kunitconfig``:
.. code-block:: none
CONFIG_MISC_EXAMPLE=y
- CONFIG_MISC_EXAMPLE_TEST=y
+ CONFIG_MISC_EXAMPLE_KUNIT_TEST=y
Now you can run the test: