aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-12-22 18:17:13 +0100
committerClément Bœsch <ubitux@gmail.com>2011-12-26 22:27:01 +0100
commit3d38a7260b43f52ac8e2a217995c321db67fcc00 (patch)
treeada507de36901cc13d99c27de68af7d1cbb35d1d
parent2ffee0f4508020862138e0ac5386d0447cf0db57 (diff)
downloadffmpeg-3d38a7260b43f52ac8e2a217995c321db67fcc00.tar.gz
fate: give stderr hint when a test fails.
-rwxr-xr-xtests/fate-run.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 350ff573c7..2f92a7dda6 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -136,5 +136,9 @@ fi
echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile
-test $err = 0 && rm -f $outfile $errfile $cmpfile $cleanfiles
+if test $err = 0; then
+ rm -f $outfile $errfile $cmpfile $cleanfiles
+else
+ echo "Test $test failed. Look at $errfile for details."
+fi
exit $err