From 820a9373fcbe810d4be97aabe0221cf39b91ac80 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 2 Dec 2024 18:05:26 +0100 Subject: [PATCH] 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. --- test/units/TEST-38-FREEZER.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.47.3