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 09:47:08 +00: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 09:47:08 +00:00
fi
done
2018-02-15 09:25:24 +00:00
exit 1