commit | c0bb2cf40e42b2fe5c8aa1c4f6f4d09c98839d91 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuahkh@osg.samsung.com> | Fri Aug 04 15:07:19 2017 -0600 |
committer | Shuah Khan <shuahkh@osg.samsung.com> | Wed Aug 09 10:39:05 2017 -0600 |
tree | c2b7e7ac624bc43c0de04d51f5dca308ad931679 | |
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>