selftests/harness: Report skip reason
authorKees Cook <keescook@chromium.org>
Mon, 22 Jun 2020 18:16:51 +0000 (11:16 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 6 Jul 2020 21:59:57 +0000 (15:59 -0600)
commit0ef67a888375b0d11930a9811e1152b6ebc385a8
tree2119b3eefba45ed9d18bac239a4b2025b08bc71a
parentd088c92802549fc1cf77a12a4e3986160d63662a
selftests/harness: Report skip reason

Use a share memory segment to pass string information between forked
test and the test runner for the skip reason.

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