For failed tests, show the full .exp and .out files

It only does this if there are failed tests, but XFAIL is not included in the
"failed tests".
This commit is contained in:
Derick Rethans
2017-03-27 15:06:15 +01:00
parent 77a68728e2
commit 6c1b952811
2 changed files with 20 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/bin/sh
EXP=`echo $1 | sed 's/diff/exp/'`
OUT=`echo $1 | sed 's/diff/out/'`
echo "FILE $1"
echo $EXP
echo "======"
cat $EXP
echo "======"
echo $OUT
echo "======"
cat $OUT
echo "======"
echo
+1 -1
View File
@@ -41,4 +41,4 @@ after_success:
after_failure:
- find . -name \*core\* -exec ./.travis.scripts/debug-core.sh {} \;
- find . -name \*diff -exec ./.travis.scripts/debug-script.sh {} \;