diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-02-29 03:59:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-03-01 13:30:28 +0300 |
commit | fa1a53d83674b3aa089b8661ee9f884c024f6e95 (patch) | |
tree | fb69dd3ae0469ecb5155b908d16527bff8f0e6bd /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 796a344fa4315f9c1f2258de14c1d20cbbef79a8 (diff) | |
download | linux-fa1a53d83674b3aa089b8661ee9f884c024f6e95.tar.xz |
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions