mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user