[FFmpeg-devel] [PATCH] fate: give stderr hint when a test fails.
Clément Bœsch
ubitux at gmail.com
Thu Dec 22 18:17:26 CET 2011
---
tests/fate-run.sh | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 350ff57..7f6b886 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 [ $err -eq 0 ]; then
+ rm -f $outfile $errfile $cmpfile $cleanfiles
+else
+ echo "test failed, stderr output available here in $errfile"
+fi
exit $err
--
1.7.8.1
More information about the ffmpeg-devel
mailing list