linux/lib/kunit
Alan Maguire 9fe124bf1b kunit: allow kunit to be loaded as a module
Making kunit itself buildable as a module allows for "always-on"
kunit configuration; specifying CONFIG_KUNIT=m means the module
is built but only used when loaded.  Kunit test modules will load
kunit.ko as an implicit dependency, so simply running
"modprobe my-kunit-tests" will load the tests along with the kunit
module and run them.

Co-developed-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Knut Omang <knut.omang@oracle.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-01-09 16:43:40 -07:00
..
assert.c kunit: allow kunit tests to be loaded as a module 2020-01-09 16:42:29 -07:00
Kconfig kunit: allow kunit to be loaded as a module 2020-01-09 16:43:40 -07:00
kunit-example-test.c kunit: allow kunit tests to be loaded as a module 2020-01-09 16:42:29 -07:00
kunit-test.c kunit: allow kunit tests to be loaded as a module 2020-01-09 16:42:29 -07:00
Makefile kunit: allow kunit to be loaded as a module 2020-01-09 16:43:40 -07:00
string-stream-test.c kunit: allow kunit tests to be loaded as a module 2020-01-09 16:42:29 -07:00
string-stream.c kunit: move string-stream.h to lib/kunit 2020-01-09 16:41:05 -07:00
string-stream.h kunit: move string-stream.h to lib/kunit 2020-01-09 16:41:05 -07:00
test.c kunit: allow kunit to be loaded as a module 2020-01-09 16:43:40 -07:00
try-catch-impl.h kunit: hide unexported try-catch interface in try-catch-impl.h 2020-01-09 16:42:09 -07:00
try-catch.c kunit: remove timeout dependence on sysctl_hung_task_timeout_seconds 2020-01-09 16:42:55 -07:00