diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2019-09-23 12:02:31 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2019-10-01 02:35:00 +0300 |
commit | 914cc63eea6fbe11ed46dba5e4438d81b0cd42d2 (patch) | |
tree | e7fc4cb9f934029677338053cf802c6937abeedb /lib/kunit/Makefile | |
parent | 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff) | |
download | linux-914cc63eea6fbe11ed46dba5e4438d81b0cd42d2.tar.xz |
kunit: test: add KUnit test runner core
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>
Diffstat (limited to 'lib/kunit/Makefile')
-rw-r--r-- | lib/kunit/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kunit/Makefile b/lib/kunit/Makefile new file mode 100644 index 000000000000..5efdc4dea2c0 --- /dev/null +++ b/lib/kunit/Makefile @@ -0,0 +1 @@ +obj-$(CONFIG_KUNIT) += test.o |