* [GIT PULL] Kselftest fixes update for Linux 6.11-rc3
@ 2024-08-05 21:08 Shuah Khan
2024-08-05 22:16 ` pr-tracker-bot
2024-08-05 22:16 ` pr-tracker-bot
0 siblings, 2 replies; 3+ messages in thread
From: Shuah Khan @ 2024-08-05 21:08 UTC (permalink / raw)
To: Linus Torvalds; +Cc: shuah, Shuah Khan, linux-kselftest, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1555 bytes --]
Hi Linus,
Please pull the kselftest fixes update for Linux 6.11-rc3.
This kselftest fixes update consists of a single fix to the conditional
in ksft.py script which incorrectly flags a test suite failed when there
are skipped tests in the mix. The logic is fixed to take skipped tests
into account and report the test as passed.
diff is attached.
thanks,
-- Shuah
----------------------------------------------------------------
The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:
Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.11-rc3
for you to fetch changes up to 170c966cbe274e664288cfc12ee919d5e706dc50:
selftests: ksft: Fix finished() helper exit code on skipped tests (2024-07-31 11:38:56 -0600)
----------------------------------------------------------------
linux_kselftest-fixes-6.11-rc3
This kselftest fixes update consists of a single fix to the conditional
in ksft.py script which incorrectly flags a test suite failed when there
are skipped tests in the mix. The logic is fixed to take skipped tests
into account and report the test as passed.
----------------------------------------------------------------
Laura Nao (1):
selftests: ksft: Fix finished() helper exit code on skipped tests
tools/testing/selftests/kselftest/ksft.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------
[-- Attachment #2: linux_kselftest-fixes-6.11-rc3.diff --]
[-- Type: text/x-patch, Size: 498 bytes --]
diff --git a/tools/testing/selftests/kselftest/ksft.py b/tools/testing/selftests/kselftest/ksft.py
index cd89fb2bc10e..bf215790a89d 100644
--- a/tools/testing/selftests/kselftest/ksft.py
+++ b/tools/testing/selftests/kselftest/ksft.py
@@ -70,7 +70,7 @@ def test_result(condition, description=""):
def finished():
- if ksft_cnt["pass"] == ksft_num_tests:
+ if ksft_cnt["pass"] + ksft_cnt["skip"] == ksft_num_tests:
exit_code = KSFT_PASS
else:
exit_code = KSFT_FAIL
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [GIT PULL] Kselftest fixes update for Linux 6.11-rc3
2024-08-05 21:08 [GIT PULL] Kselftest fixes update for Linux 6.11-rc3 Shuah Khan
@ 2024-08-05 22:16 ` pr-tracker-bot
2024-08-05 22:16 ` pr-tracker-bot
1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2024-08-05 22:16 UTC (permalink / raw)
To: Shuah Khan
Cc: Linus Torvalds, shuah, Shuah Khan, linux-kselftest, linux-kernel
The pull request you sent on Mon, 5 Aug 2024 15:08:10 -0600:
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.11-rc3
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b446a2dae984fa5bd56dd7c3a02a426f87e05813
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [GIT PULL] Kselftest fixes update for Linux 6.11-rc3
2024-08-05 21:08 [GIT PULL] Kselftest fixes update for Linux 6.11-rc3 Shuah Khan
2024-08-05 22:16 ` pr-tracker-bot
@ 2024-08-05 22:16 ` pr-tracker-bot
1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2024-08-05 22:16 UTC (permalink / raw)
To: Shuah Khan
Cc: Linus Torvalds, shuah, Shuah Khan, linux-kselftest, linux-kernel
The pull request you sent on Mon, 5 Aug 2024 15:08:10 -0600:
> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.11-rc3
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/b446a2dae984fa5bd56dd7c3a02a426f87e05813
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-08-05 22:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 21:08 [GIT PULL] Kselftest fixes update for Linux 6.11-rc3 Shuah Khan
2024-08-05 22:16 ` pr-tracker-bot
2024-08-05 22:16 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox