[FFmpeg-cvslog] r24152 - trunk/tests/fate-run.sh

mru subversion
Sat Jul 10 01:55:16 CEST 2010


Author: mru
Date: Sat Jul 10 01:55:16 2010
New Revision: 24152

Log:
fate: fail with a sensible error message if reference file is missing

Modified:
   trunk/tests/fate-run.sh

Modified: trunk/tests/fate-run.sh
==============================================================================
--- trunk/tests/fate-run.sh	Sat Jul 10 01:37:19 2010	(r24151)
+++ trunk/tests/fate-run.sh	Sat Jul 10 01:55:16 2010	(r24152)
@@ -24,6 +24,11 @@ oneoff(){
     fi
 }
 
+if ! test -e "$ref"; then
+    echo "reference file '$ref' not found"
+    exit 1
+fi
+
 mkdir -p "$outdir"
 
 eval $target_exec $command > "$outfile" 2>/dev/null || exit



More information about the ffmpeg-cvslog mailing list