From 487ce0983c2008991566b4cfb269fd7d29a08e98 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sun, 26 Oct 2025 07:59:52 +0100 Subject: 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. --- test/integration/run-tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/integration') 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 -- cgit v1.2.3-70-g09d2