Skip to content
Commit c0bb2cf4 authored by Shuah Khan's avatar Shuah Khan
Browse files

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: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 7d005195
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment