[SCM] libav/experimental: fate: exit with error immediately if test command fails

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:10:51 UTC 2013


The following commit has been merged in the experimental branch:
commit 58d2b1544720cba8100ed0148edb73147f08b3e8
Author: Måns Rullgård <mans at mansr.com>
Date:   Fri Jul 9 23:26:33 2010 +0000

    fate: exit with error immediately if test command fails
    
    Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 7dce9b0..278e247 100755
--- a/tests/fate-run.sh
+++ b/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"            ;;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list