Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Side by Side Diff: source/patched-ffmpeg-mt/tests/fate-run.sh

Issue 3384002: ffmpeg source update for sep 09 (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/patched-ffmpeg-mt/tests/fate.sh ('k') | source/patched-ffmpeg-mt/tests/fate/mp3.mak » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #! /bin/sh 1 #! /bin/sh
2 2
3 export LC_ALL=C
4
3 base=$(dirname $0) 5 base=$(dirname $0)
4 . "${base}/md5.sh" 6 . "${base}/md5.sh"
5 7
6 base64=tests/base64 8 base64=tests/base64
7 9
8 test="${1#fate-}" 10 test="${1#fate-}"
9 samples=$2 11 samples=$2
10 target_exec=$3 12 target_exec=$3
11 target_path=$4 13 target_path=$4
12 command=$5 14 command=$5
(...skipping 25 matching lines...) Expand all
38 40
39 stddev(){ 41 stddev(){
40 do_tiny_psnr "$1" "$2" stddev '<=' ${fuzz:-1} 42 do_tiny_psnr "$1" "$2" stddev '<=' ${fuzz:-1}
41 } 43 }
42 44
43 run(){ 45 run(){
44 $target_exec $target_path/"$@" 46 $target_exec $target_path/"$@"
45 } 47 }
46 48
47 ffmpeg(){ 49 ffmpeg(){
48 $target_exec $target_path/ffmpeg "$@" 50 run ffmpeg -v 0 "$@"
49 } 51 }
50 52
51 framecrc(){ 53 framecrc(){
52 ffmpeg "$@" -f framecrc - 54 ffmpeg "$@" -f framecrc -
53 } 55 }
54 56
55 framemd5(){ 57 framemd5(){
56 ffmpeg "$@" -f framemd5 - 58 ffmpeg "$@" -f framemd5 -
57 } 59 }
58 60
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 test $err = 0 || cat $cmpfile 128 test $err = 0 || cat $cmpfile
127 else 129 else
128 echo "reference file '$ref' not found" 130 echo "reference file '$ref' not found"
129 err=1 131 err=1
130 fi 132 fi
131 133
132 echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile 134 echo "${test}:${sig:-$err}:$($base64 <$cmpfile):$($base64 <$errfile)" >$repfile
133 135
134 test $err = 0 && rm -f $outfile $errfile $cmpfile $cleanfiles 136 test $err = 0 && rm -f $outfile $errfile $cmpfile $cleanfiles
135 exit $err 137 exit $err
OLDNEW
« no previous file with comments | « source/patched-ffmpeg-mt/tests/fate.sh ('k') | source/patched-ffmpeg-mt/tests/fate/mp3.mak » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698