mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-04-27 10:36:11 +02:00
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:
Executable
+19
@@ -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
@@ -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 {} \;
|
||||
|
||||
Reference in New Issue
Block a user