travis-ci: cat output of failed tests

This commit is contained in:
Michael Davidsaver
2017-11-17 14:29:53 -06:00
parent 413102a4bc
commit 9c3cebc8b5
2 changed files with 9 additions and 1 deletions

8
.ci/proveit.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
set -e
if ! prove -e cat -f "$1"
then
cat "$1"
exit 1
fi

View File

@ -16,5 +16,5 @@ make -j2 $EXTRA
if [ "$TEST" != "NO" ]
then
make tapfiles
find . -name '*.tap' -print0 | xargs -0 -n1 prove -e cat -f
find . -name '*.tap' -print0 | xargs -0 -n1 ./.ci/proveit.sh
fi