diff options
author | Laura Nao <laura.nao@collabora.com> | 2024-07-30 13:29:28 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2024-07-31 20:38:56 +0300 |
commit | 170c966cbe274e664288cfc12ee919d5e706dc50 (patch) | |
tree | 92bd1af0759eb33dad98353301827aa635bc6941 /tools/perf/pmu-events/README | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) | |
download | linux-170c966cbe274e664288cfc12ee919d5e706dc50.tar.xz |
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 <nfraprado@collabora.com>
Fixes: dacf1d7a78bf ("kselftest: Add test to verify probe of devices from discoverable buses")
Signed-off-by: Laura Nao <laura.nao@collabora.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/pmu-events/README')
0 files changed, 0 insertions, 0 deletions