projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a59b98
)
fate: ensure file sizes match in oneoff tests
author
Måns Rullgård
<mans@mansr.com>
Sat, 10 Jul 2010 16:58:00 +0000
(16:58 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sat, 10 Jul 2010 16:58:00 +0000
(16:58 +0000)
Originally committed as revision 24164 to svn://svn.ffmpeg.org/ffmpeg/trunk
tests/fate-run.sh
patch
|
blob
|
history
diff --git
a/tests/fate-run.sh
b/tests/fate-run.sh
index
ba5d09d
..
83befed
100755
(executable)
--- a/
tests/fate-run.sh
+++ b/
tests/fate-run.sh
@@
-18,7
+18,9
@@
outfile="${outdir}/${test}"
oneoff(){
psnr=$(tests/tiny_psnr "$1" "$2" 2 0 0)
max=$(expr "$psnr" : '.*MAXDIFF: *\([0-9]*\)')
- if [ $max -gt ${3:-1} ]; then
+ size1=$(expr "$psnr" : '.*bytes: *\([0-9]*\)')
+ size2=$(expr "$psnr" : '.*bytes:[ 0-9]*/ *\([0-9]*\)')
+ if [ $max -gt ${3:-1} ] || [ $size1 != $size2 ]; then
echo "$psnr"
return 1
fi