linux/lib/kunit
Thomas Weißschuh 768da2eae8
kunit: test: Drop CONFIG_MODULE ifdeffery
The function stubs exposed by module.h allow the code to compile properly
without the ifdeffery. The generated object code stays the same, as the
compiler can optimize away all the dead code.
As the code is still typechecked developer errors can be detected faster.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: David Gow <davidgow@google.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Link: https://lore.kernel.org/r/20250711-kunit-ifdef-modules-v2-3-39443decb1f8@linutronix.de
Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
2025-07-31 13:51:34 +02:00
..
.kunitconfig
Kconfig kunit: Make default kunit_test timeout configurable via both a module parameter and a Kconfig option 2025-06-27 15:00:05 -06:00
Makefile
assert.c
assert_test.c
attributes.c
debugfs.c
debugfs.h
device-impl.h
device.c
executor.c
executor_test.c
hooks-impl.h
hooks.c
kunit-example-test.c
kunit-test.c kunit: Adjust kunit_test timeout based on test_{suite,case} speed 2025-06-24 20:47:39 -06:00
platform-test.c
platform.c
resource.c
static_stub.c
string-stream-test.c
string-stream.c
string-stream.h
test.c kunit: test: Drop CONFIG_MODULE ifdeffery 2025-07-31 13:51:34 +02:00
try-catch-impl.h kunit: Adjust kunit_test timeout based on test_{suite,case} speed 2025-06-24 20:47:39 -06:00
try-catch.c kunit: Adjust kunit_test timeout based on test_{suite,case} speed 2025-06-24 20:47:39 -06:00
user_alloc.c kunit: test: Export kunit_attach_mm() 2025-07-16 14:11:58 +02:00