From 15269c21c9c6a4f1d7499d30c22a83507f895ea8 Mon Sep 17 00:00:00 2001 From: Ben Copeland Date: Mon, 22 Jun 2026 16:01:51 +0100 Subject: [PATCH 1/2] kselftest: report fully-skipped collection as skip, not fail An all-skipped collection leaves an empty shardfile, which was reported as fail and left kselftest.txt unwritten so parse_output errored. Report skip when the collection existed before skipping, and ensure kselftest.txt exists. Signed-off-by: Ben Copeland --- automated/linux/kselftest/kselftest.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/automated/linux/kselftest/kselftest.sh b/automated/linux/kselftest/kselftest.sh index 6e1bba33e..baec81062 100755 --- a/automated/linux/kselftest/kselftest.sh +++ b/automated/linux/kselftest/kselftest.sh @@ -219,6 +219,9 @@ elif [ -n "${TST_CMDFILES}" ]; then echo "===========End Tests to run ===============" if [ -s shardfile ]; then report_pass "shardfile-${test}" + elif grep -q "^${test}:" kselftest-list.txt.orig; then + report_skip "shardfile-${test}" + continue else report_fail "shardfile-${test}" continue @@ -232,4 +235,5 @@ else fi # shellcheck disable=SC2164 cd "$saved_pwd" || exit +[ -f "${LOGFILE}" ] || : > "${LOGFILE}" parse_output From 03f9a5c946bafc660a486da9d075ec00fc1feadf Mon Sep 17 00:00:00 2001 From: Ben Copeland Date: Mon, 22 Jun 2026 16:07:33 +0100 Subject: [PATCH 2/2] kselftest: stop unconditionally skipping breakpoints tests Drop the boards:all skips for breakpoints:step_after_suspend_test and breakpoints:breakpoint_test so they run. The board-specific breakpoint_test_arm64 build-failed skip (bug 3208) is left in place. Signed-off-by: Ben Copeland --- automated/linux/kselftest/skipfile-lkft.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/automated/linux/kselftest/skipfile-lkft.yaml b/automated/linux/kselftest/skipfile-lkft.yaml index 1cc91ef5e..d660a49ed 100644 --- a/automated/linux/kselftest/skipfile-lkft.yaml +++ b/automated/linux/kselftest/skipfile-lkft.yaml @@ -37,22 +37,6 @@ skiplist: tests: - breakpoints:breakpoint_test_arm64 - - reason: - url: - environments: all - boards: all - branches: all - tests: - - breakpoints:step_after_suspend_test - - - reason: - url: - environments: all - boards: all - branches: all - tests: - - breakpoints:breakpoint_test - - reason: url: environments: all