harfbuzz/.ci/fail.sh

19 lines
416 B
Bash
Raw Normal View History

#!/bin/bash
for f in $(find . -name '*.log' -not -name 'config.log'); do
last=$(tail -1 $f)
if [[ $last = FAIL* ]]; then
2018-02-15 10:47:08 +01:00
echo '====' $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
2018-02-15 10:47:08 +01:00
fi
done
2018-02-15 10:25:24 +01:00
exit 1