diff options
| author | Laura Nao <[email protected]> | 2024-07-30 10:29:28 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-07-31 17:38:56 +0000 |
| commit | 170c966cbe274e664288cfc12ee919d5e706dc50 (patch) | |
| tree | 92bd1af0759eb33dad98353301827aa635bc6941 /tools/perf/util/annotate-data.c | |
| parent | Linux 6.11-rc1 (diff) | |
| download | kernel-170c966cbe274e664288cfc12ee919d5e706dc50.tar.gz kernel-170c966cbe274e664288cfc12ee919d5e706dc50.zip | |
selftests: ksft: Fix finished() helper exit code on skipped tests
The Python finished() helper currently exits with KSFT_FAIL when there
are only passed and skipped tests. Fix the logic to exit with KSFT_PASS
instead, making it consistent with its C and bash counterparts
(ksft_finished() and ktap_finished() respectively).
Reviewed-by: NĂcolas F. R. A. Prado <[email protected]>
Fixes: dacf1d7a78bf ("kselftest: Add test to verify probe of devices from discoverable buses")
Signed-off-by: Laura Nao <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate-data.c')
0 files changed, 0 insertions, 0 deletions
