mbox series

[0/2] selftests/harness: Run TEARDOWN for ASSERT failures

Message ID 20220324231907.1363887-1-keescook@chromium.org
Headers show
Series selftests/harness: Run TEARDOWN for ASSERT failures | expand

Message

Kees Cook March 24, 2022, 11:19 p.m. UTC
Hi,

I've needed TEARDOWN for ASSERT tests for a while now. It just took me a
while to figure out how to do it. Also included is a patch from Willem
de Bruijn that got lost, which makes sure that variants are passed to
TEARDOWN, since they may be needed there too.

Thanks!

-Kees

Kees Cook (1):
  selftests/harness: Run TEARDOWN for ASSERT failures

Willem de Bruijn (1):
  selftests/harness: Pass variant to teardown

 tools/testing/selftests/kselftest_harness.h | 59 ++++++++++++++-------
 1 file changed, 40 insertions(+), 19 deletions(-)