Make build-time testing more strict
This commit is contained in:
1 parent
8cceae8d2a
commit
3f4031a401
2 files changed
+3
-1
No files matched your search
Vendored
+2
@@ -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
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user