selftests/harness: Switch to TAP output
authorKees Cook <keescook@chromium.org>
Mon, 22 Jun 2020 18:16:48 +0000 (11:16 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Jul 2020 21:59:31 +0000 (15:59 -0600)
commite80068be21824e4d2726eeea41cac6178d212415
treebcbe13c58e55324160845339a7dba3874e9d12f6
parent245dd6041d0d923fb6563a0704749d3a7de16c56
selftests/harness: Switch to TAP output

Using the kselftest_harness.h would result in non-TAP test reporting,
which didn't make much sense given that all the requirements for using
the low-level API were met. Switch to using ksft_*() helpers while
retaining as much of a human-readability as possible.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/kselftest.h
tools/testing/selftests/kselftest_harness.h