Ignore build-time test failures on mipsel

"ostree pull" intermittently fails with a bus error on at least some
mipsel CPUs, and applying gdb to the resulting core dump does not produce
any useful information. Debugging help would be appreciated. (Mitigates:
#827473)
This commit is contained in:
Simon McVittie 2016-07-04 10:06:55 +01:00
parent 0187b51281
commit 85d4d5e1cc
2 changed files with 25 additions and 3 deletions

10
debian/changelog vendored
View File

@ -1,3 +1,13 @@
ostree (2016.6-3) UNRELEASED; urgency=medium
* Ignore build-time test failures on mipsel. "ostree pull"
intermittently fails with a bus error on at least some mipsel CPUs,
and applying gdb to the resulting core dump does not produce any
useful information. Debugging help would be appreciated.
(Mitigates: #827473)
-- Simon McVittie <smcv@debian.org> Mon, 04 Jul 2016 09:55:09 +0100
ostree (2016.6-2) unstable; urgency=medium
* d/p/tests-Improve-check-for-proc-cmdline-kargs.patch: add patch from

18
debian/test.sh vendored
View File

@ -2,6 +2,14 @@
set -e
ignore=
case "$DEB_HOST_ARCH" in
(mipsel)
ignore=yes
;;
esac
export VERBOSE=1
try_tests=5
@ -9,8 +17,8 @@ try_tests=5
failed=0
make check || failed=1
if [ "$failed" -gt 0 ]; then
echo "Test failed! Checking how reproducible it is..."
if [ "$failed" -gt 0 ] || [ -n "$ignore" ]; then
[ "$failed" -eq 0 ] || echo "Test failed! Checking how reproducible it is..."
for i in $(seq 1 "$(( $try_tests - 1 ))"); do
if ! make check; then
failed=$(( $failed + 1 ))
@ -28,7 +36,11 @@ fi
if [ "$failed" -gt 0 ]; then
echo "Failed $failed out of $try_tests test runs"
exit 1
if [ -n "$ignore" ]; then
exit 1
else
echo "Ignoring test failure for this architecture"
fi
fi
exit 0