Default value of kunit.enable
configname: CONFIG_KUNIT_DEFAULT_ENABLED
Linux Kernel Configuration
└─>
Kernel hacking
└─>
Kernel Testing and Coverage
└─>
KUnit - Enable support for unit tests
└─>
Default value of kunit.enable
In linux kernel since version 6.1
(release Date: 2022-12-11)
tests will not execute unless kunit.enable=1 is passed to the
kernel command line.
In most cases this should be left as Y. Only if additional opt-in
behavior is needed should this be set to N.