summaryrefslogtreecommitdiff
path: root/test/integration/run-tests
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-26 07:59:52 +0100
committerJulian Andres Klode <jak@debian.org>2025-10-26 08:28:35 +0100
commit487ce0983c2008991566b4cfb269fd7d29a08e98 (patch)
tree4af69f0756cc2573944dbc00a6c81b6f6e08bf93 /test/integration/run-tests
parent78da58ec0c1cdbda6cdd22c63f85ddac703bb0d6 (diff)
test: Correctly skip tests when not using -j
We never implemented comment support in the skip test file for -j as we only run with -j, but the debian/tests/run-tests runs without parallelism.
Diffstat (limited to 'test/integration/run-tests')
-rwxr-xr-xtest/integration/run-tests2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/run-tests b/test/integration/run-tests
index 47724450d..762ede557 100755
--- a/test/integration/run-tests
+++ b/test/integration/run-tests
@@ -164,7 +164,7 @@ if [ "$MSGLEVEL" -le 1 ]; then
printf "${CTEST}Running testcases${CRESET}: "
fi
for testcase in $TESTLIST; do
- if [ "$APT_SKIP_TEST_FILE" ] && grep -qFx "${testcase##*/}" "$APT_SKIP_TEST_FILE"; then
+ if [ "$APT_SKIP_TEST_FILE" ] && sed 's/ *#.*//' "$APT_SKIP_TEST_FILE" | grep -qFx "${testcase##*/}"; then
printf "${CTEST}Skipping Testcase ${CHIGH}${testcase##*/}${CRESET}\n"
continue
fi