diff options
author | 2024-02-28 16:59:14 -0800 | |
---|---|---|
committer | 2024-03-01 10:30:28 +0000 | |
commit | fa1a53d83674b3aa089b8661ee9f884c024f6e95 (patch) | |
tree | fb69dd3ae0469ecb5155b908d16527bff8f0e6bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: kselftest_harness: use exit code to store skip (diff) | |
download | wireguard-linux-fa1a53d83674b3aa089b8661ee9f884c024f6e95.tar.xz wireguard-linux-fa1a53d83674b3aa089b8661ee9f884c024f6e95.zip |
selftests: kselftest: add ksft_test_result_code(), handling all exit codes
For generic test harness code it's more useful to deal with exit
codes directly, rather than having to switch on them and call
the right ksft_test_result_*() helper. Add such function to kselftest.h.
Note that "directive" and "diagnostic" are what ktap docs call
those parts of the message.
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions