selftests: Distinguish between missing and non-executable
authorKees Cook <keescook@chromium.org>
Wed, 24 Apr 2019 23:12:34 +0000 (16:12 -0700)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 25 Apr 2019 19:15:10 +0000 (13:15 -0600)
commitfd63b2eae5f6ff91ab60819ef083136aebb0e88b
treee409017adbb0d58c622b5e495c3d12995aae4dcc
parentb0df366bbd701c45e93af0dcb87ce22398589d1d
selftests: Distinguish between missing and non-executable

If a test was missing (e.g. wrong architecture, etc), the test runner
would incorrectly claim the test was non-executable. This adds an
existence check to report correctly.

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