Make build-time testing more strict

This commit is contained in:
Simon McVittie 2017-10-03 19:40:24 +01:00
parent 8cceae8d2a
commit 3f4031a401
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -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 <smcv@debian.org> Tue, 03 Oct 2017 19:14:14 +0100

2
debian/test.sh vendored
View File

@ -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