diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-04 15:07:19 -0600 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2017-08-09 10:39:05 -0600 |
commit | c0bb2cf40e42b2fe5c8aa1c4f6f4d09c98839d91 (patch) | |
tree | c2b7e7ac624bc43c0de04d51f5dca308ad931679 /tools/testing/selftests/futex/functional/futex_wait_timeout.c | |
parent | 7d005195e9eb6518017e02c1468e3de693cc7442 (diff) |
selftests: kselftest framework: add error counter
Some tests track errors in addition to test failures. Add ksft_error
counter, ksft_get_error_cnt(), and ksft_test_result_error() API to
get the counter value and print error message.
Update ksft_print_cnts(), and ksft_test_num() to include error counter.
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/futex/functional/futex_wait_timeout.c')
0 files changed, 0 insertions, 0 deletions