Workaround for old automake on Travis Linux images
https://github.com/harfbuzz/harfbuzz/pull/821#issuecomment-368116538
This commit is contained in:
parent
cd28eb9f5d
commit
c73255f3eb
10
.ci/fail.sh
10
.ci/fail.sh
|
@ -2,11 +2,17 @@
|
||||||
|
|
||||||
for f in $(find . -name '*.log' -not -name 'config.log'); do
|
for f in $(find . -name '*.log' -not -name 'config.log'); do
|
||||||
last=$(tail -1 $f)
|
last=$(tail -1 $f)
|
||||||
if [[ $last = FAIL* || $last = *failed* ]]; then
|
if [[ $last = FAIL* ]]; then
|
||||||
echo '====' $f '===='
|
echo '====' $f '===='
|
||||||
cat $f
|
cat $f
|
||||||
|
elif [[ $last = PASS* ]]; then
|
||||||
|
# Do nothing.
|
||||||
|
true
|
||||||
|
else
|
||||||
|
# Travis Linux images has an old automake that does not match the
|
||||||
|
# patterns above, so in case of doubt just print the file.
|
||||||
|
cat $f
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Intentionally exiting with non-zero.
|
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue