Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-09-24 01:38:29 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-09-24 02:35:38 +0400
commit00d3bb1a074b60fd9687679e4147f56d81886b05 (patch)
treefb91f8d32c7c662cd4d4834510b9e7a05acc0477 /tests/fate-run.sh
parent9f0ba52f3444c21f752e30d22f2e9dacee9feb71 (diff)
tests/fate-run.sh: Cat .err file in case of error with V>0
This may make fate failures where only the console output is available easier to analyze Suggested-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 7fe7e7495e..b994abab27 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -248,6 +248,7 @@ if test $err = 0; then
rm -f $outfile $errfile $cmpfile $cleanfiles
elif test $gen = "no"; then
echo "Test $test failed. Look at $errfile for details."
+ test "${V:-0}" -gt 0 && cat $errfile
else
echo "Updating reference failed, possibly no output file was generated."
fi