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_S390_MODULES_SANITY_TESTCONFIG_REGMAP_KUNIT
CONFIG_REGMAP_BUILD
CONFIG_FW_CS_DSP_KUNIT_TEST
CONFIG_OF_OVERLAY_KUNIT_TEST
CONFIG_VCAP_KUNIT_TEST
CONFIG_DRM_KUNIT_TEST_HELPERS
CONFIG_DRM_KUNIT_TEST
CONFIG_DRM_TTM_KUNIT_TEST
CONFIG_DRM_SCHED_KUNIT_TEST
CONFIG_DRM_XE_KUNIT_TEST
CONFIG_DRM_VC4_KUNIT_TEST
CONFIG_SND_CORE_TEST
CONFIG_SND_SOC_TOPOLOGY_BUILD
CONFIG_CROS_KUNIT_EC_PROTO_TEST
CONFIG_CLK_KUNIT_TEST
CONFIG_CLK_FIXED_RATE_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_MCTP_TEST
CONFIG_KCSAN_KUNIT_TEST
CONFIG_KUNIT_UML_PCI
CONFIG_KPROBES_SANITY_TEST
CONFIG_RESOURCE_KUNIT_TEST
CONFIG_LINEAR_RANGES_TEST
