Make build-time testing more strict
This commit is contained in:
parent
8cceae8d2a
commit
3f4031a401
|
|
@ -10,6 +10,8 @@ ostree (2017.12-1) UNRELEASED; urgency=medium
|
||||||
We don't actually need Internet access, so this is OK.
|
We don't actually need Internet access, so this is OK.
|
||||||
* debian/test.sh: Unexport HTTP proxy variables for build-time tests
|
* debian/test.sh: Unexport HTTP proxy variables for build-time tests
|
||||||
too
|
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
|
-- Simon McVittie <smcv@debian.org> Tue, 03 Oct 2017 19:14:14 +0100
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ fi
|
||||||
# There are several race conditions that cause intermittent failures.
|
# There are several race conditions that cause intermittent failures.
|
||||||
# They are not actually a regression - we've just been luckier in the
|
# They are not actually a regression - we've just been luckier in the
|
||||||
# past - so let newer versions build reliably.
|
# 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"
|
echo "Failed $failed out of $try_tests test runs; that seems bad"
|
||||||
exit 1
|
exit 1
|
||||||
elif [ "$failed" -gt 0 ]; then
|
elif [ "$failed" -gt 0 ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue