[SCM] libav/experimental: fate: simplify test runner slightly

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:11:42 UTC 2013


The following commit has been merged in the experimental branch:
commit cdaf4b79bba8938ac8da620e9ff3758fccba83e4
Author: Måns Rullgård <mans at mansr.com>
Date:   Sun Jul 18 20:46:44 2010 +0000

    fate: simplify test runner slightly
    
    All tests use the provided helper functions so prepending $target_exec
    and using eval is no longer required.
    
    Originally committed as revision 24317 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 015aab4..0bbb530 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -66,8 +66,7 @@ fi
 
 mkdir -p "$outdir"
 
-case "$command" in /*) command="$target_exec $command" ;; esac
-eval $command > "$outfile" 2>/dev/null || exit
+$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