]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kunit: test: add tests for kunit test abort
authorBrendan Higgins <brendanhiggins@google.com>
Mon, 23 Sep 2019 09:02:40 +0000 (02:02 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 30 Sep 2019 23:35:01 +0000 (17:35 -0600)
commite4eb117f61486e8a1e6edec7d95dbdd712a5429b
tree9ee2d48db8f39b80199123cd646fd8e3ac3a59a8
parent5f3e06208920ee78b68cf3527f40ffbff83cb3bc
kunit: test: add tests for kunit test abort

Add KUnit tests for the KUnit test abort mechanism (see preceding
commit). Add tests both for general try catch mechanism as well as
non-architecture specific mechanism.

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>
lib/kunit/Makefile
lib/kunit/test-test.c [new file with mode: 0644]