include/kunit/test.h
0 → 100644
+188
−0
lib/kunit/Kconfig
0 → 100644
+13
−0
lib/kunit/Makefile
0 → 100644
+1
−0
lib/kunit/test.c
0 → 100644
+191
−0
Loading
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call them test_modules). Just define test cases and how to execute them for now; setting expectations on code will be defined later. Signed-off-by:Brendan Higgins <brendanhiggins@google.com> Reviewed-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Reviewed-by:
Logan Gunthorpe <logang@deltatee.com> Reviewed-by:
Luis Chamberlain <mcgrof@kernel.org> Reviewed-by:
Stephen Boyd <sboyd@kernel.org> Signed-off-by:
Shuah Khan <skhan@linuxfoundation.org>