From: Daan De Meyer Date: Mon, 2 Dec 2024 17:05:26 +0000 (+0100) Subject: test: Skip TEST-38-FREEZER if coverage is enabled X-Git-Tag: v257~32^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=820a9373fcbe810d4be97aabe0221cf39b91ac80;p=thirdparty%2Fsystemd.git test: Skip TEST-38-FREEZER if coverage is enabled The test freezes regularly when run with coverage so let's skip it if coverage is enabled. --- diff --git a/test/units/TEST-38-FREEZER.sh b/test/units/TEST-38-FREEZER.sh index 07597843e25..4c483df46a8 100755 --- a/test/units/TEST-38-FREEZER.sh +++ b/test/units/TEST-38-FREEZER.sh @@ -7,6 +7,11 @@ set -o pipefail # shellcheck source=test/units/test-control.sh . "$(dirname "$0")"/test-control.sh +if [[ -n "${COVERAGE_BUILD_DIR:-}" ]]; then + echo "TEST-38-FREEZER freezes when systemd is built with coverage enabled" >/skipped + exit 77 +fi + systemd-analyze log-level debug unit=TEST-38-FREEZER-sleep.service