linux/lib/kunit
Avinash Kondareddy 73ba5aaf93 kunit: test: add tests for KUnit managed resources
Add unit tests for KUnit managed resources. KUnit managed resources
(struct kunit_resource) are resources that are automatically cleaned up
at the end of a KUnit test, similar to the concept of devm_* managed
resources.

Signed-off-by: Avinash Kondareddy <akndr41@gmail.com>
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: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2019-09-30 17:35:01 -06:00
..
assert.c kunit: test: add assertion printing library 2019-09-30 17:35:00 -06:00
example-test.c kunit: test: add initial tests 2019-09-30 17:35:01 -06:00
Kconfig kunit: test: add initial tests 2019-09-30 17:35:01 -06:00
Makefile kunit: test: add tests for kunit test abort 2019-09-30 17:35:01 -06:00
string-stream-test.c kunit: test: add the concept of assertions 2019-09-30 17:35:01 -06:00
string-stream.c kunit: test: add string_stream a std::stream like string builder 2019-09-30 17:35:00 -06:00
test-test.c kunit: test: add tests for KUnit managed resources 2019-09-30 17:35:01 -06:00
test.c kunit: test: add support for test abort 2019-09-30 17:35:01 -06:00
try-catch.c kunit: test: add support for test abort 2019-09-30 17:35:01 -06:00