diff options
author | Daniel Latypov <[email protected]> | 2022-03-29 14:42:48 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2022-05-12 11:15:58 -0600 |
commit | 9660209d9418f2295d31fea0d32e313e9b2c1200 (patch) | |
tree | 57ad822494fae14bfe479cf9b0350bea6ed84d61 /net/lapb/lapb_timer.c | |
parent | 3f0a50f345f78183f6e9b39c2f45ca5dcaa511ca (diff) |
kunit: tool: print clearer error message when there's no TAP output
Before:
$ ./tools/testing/kunit/kunit.py parse /dev/null
...
[ERROR] Test : invalid KTAP input!
After:
$ ./tools/testing/kunit/kunit.py parse /dev/null
...
[ERROR] Test <missing>: could not find any KTAP output!
This error message gets printed out when extract_tap_output() yielded no
lines. So while it could be because of malformed KTAP output from KUnit,
it could also be due to not having any KTAP output at all.
Try and make the error message here more clear.
Signed-off-by: Daniel Latypov <[email protected]>
Reviewed-by: David Gow <[email protected]>
Reviewed-by: Brendan Higgins <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions