KUnit - Enable support for unit tests
modulename: clk_kunit_helpers.ko
and/orof_kunit_helpers.ko
and/orkunit.ko
configname: CONFIG_KUNIT
Linux Kernel Configuration
└─>Kernel hacking
└─>Kernel Testing and Coverage
└─>KUnit - Enable support for unit tests
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
Enables support for kernel unit tests (KUnit), a lightweight unit
testing and mocking framework for the Linux kernel. These tests are
able to be run locally on a developer's workstation without a VM or
special hardware when using UML. Can also be used on most other
architectures. For more information, please see <a href="https://www.kernel.org/doc/Documentation/dev-tools/kunit/.
">Documentation/dev-tools/kunit/.
</a>
testing and mocking framework for the Linux kernel. These tests are
able to be run locally on a developer's workstation without a VM or
special hardware when using UML. Can also be used on most other
architectures. For more information, please see <a href="https://www.kernel.org/doc/Documentation/dev-tools/kunit/.
">Documentation/dev-tools/kunit/.
</a>
source code:
is selected by
CONFIG_FW_CS_DSP_KUNIT_TESTCONFIG_DRM_KUNIT_TEST_HELPERS
CONFIG_DRM_KUNIT_TEST
CONFIG_DRM_TTM_KUNIT_TEST
CONFIG_DRM_SCHED_KUNIT_TEST
CONFIG_IIO_GTS_KUNIT_TEST
CONFIG_CRC_KUNIT_TEST
CONFIG_CRYPTO_LIB_BLAKE2S_KUNIT_TEST
CONFIG_CRYPTO_LIB_CURVE25519_KUNIT_TEST
CONFIG_CRYPTO_LIB_MD5_KUNIT_TEST
CONFIG_CRYPTO_LIB_POLY1305_KUNIT_TEST
CONFIG_CRYPTO_LIB_SHA1_KUNIT_TEST
CONFIG_CRYPTO_LIB_SHA256_KUNIT_TEST
CONFIG_CRYPTO_LIB_SHA512_KUNIT_TEST
CONFIG_KUNIT_UML_PCI
