Skip to content

Commit 6cdfb2d

Browse files
authored
run-vmtest: skip splat check without test_progs (#232)
Signed-off-by: yatsenko <yatsenko@fb.com> Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
1 parent 18749f6 commit 6cdfb2d

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

run-vmtest/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ hung tasks and lockups. A hit adds a `kernel_splats` row to `exitstatus`, which
4747
turns the run red like any other failing test group. Anything fatal panics the
4848
VM instead, and fails the job on its own.
4949

50+
The check runs for the default suite or when the requested runners include
51+
`test_progs`. Veristat-only runs skip it.
52+
5053
The action carries no patterns. What a splat is, and what is benign, is policy
5154
that changes per arch and per kernel, so it lives with the configs. Two files
5255
of extended regexes, one per line, `#` comments and blank lines ignored, named

run-vmtest/run-bpf-selftests.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,8 @@ else
178178
done
179179
fi
180180

181-
"${SCRIPT_DIR}/check-kernel-splats.sh"
181+
if [ ${#TEST_NAMES[@]} -eq 0 ] || [[ "${TEST_NAMES[*]}" == *test_progs* ]]; then
182+
"${SCRIPT_DIR}/check-kernel-splats.sh"
183+
else
184+
echo "Skipping kernel splat check: test_progs not requested"
185+
fi

0 commit comments

Comments
 (0)