Re: [PATCH v2] selftests: ksft: Fix finished() helper exit code on skipped tests

2024-07-31 Thread Shuah Khan
On 7/31/24 07:05, Muhammad Usama Anjum wrote: On 7/30/24 3:29 PM, Laura Nao wrote: 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_f

Re: [PATCH v2] selftests: ksft: Fix finished() helper exit code on skipped tests

2024-07-31 Thread Muhammad Usama Anjum
On 7/30/24 3:29 PM, Laura Nao wrote: > 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() respectivel

[PATCH v2] selftests: ksft: Fix finished() helper exit code on skipped tests

2024-07-30 Thread Laura Nao
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 Fix