From 3f4031a401d63ee71879d94b6740a2c1f5f238d8 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 3 Oct 2017 19:40:24 +0100 Subject: [PATCH] Make build-time testing more strict --- debian/changelog | 2 ++ debian/test.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 432192be..63350f8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ ostree (2017.12-1) UNRELEASED; urgency=medium We don't actually need Internet access, so this is OK. * debian/test.sh: Unexport HTTP proxy variables for build-time tests too + * Make build-time test failures fatal if they fail at least twice + out of 5 tries (previously they had to fail at least 3 times) -- Simon McVittie Tue, 03 Oct 2017 19:14:14 +0100 diff --git a/debian/test.sh b/debian/test.sh index f23a06f4..eadeda4e 100755 --- a/debian/test.sh +++ b/debian/test.sh @@ -38,7 +38,7 @@ fi # There are several race conditions that cause intermittent failures. # They are not actually a regression - we've just been luckier in the # past - so let newer versions build reliably. -if [ "$failed" -gt 2 ]; then +if [ "$failed" -gt 1 ]; then echo "Failed $failed out of $try_tests test runs; that seems bad" exit 1 elif [ "$failed" -gt 0 ]; then