Browse Source

fate: exit with error immediately if test command fails

Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 14 years ago
parent
commit
58d2b15447
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/fate-run.sh

+ 1 - 1
tests/fate-run.sh

@@ -26,7 +26,7 @@ oneoff(){
 
 mkdir -p "$outdir"
 
-eval $target_exec $command > "$outfile" 2>/dev/null
+eval $target_exec $command > "$outfile" 2>/dev/null || exit
 
 case $cmp in
     diff)   diff -u -w "$ref" "$outfile"            ;;