aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-07 19:25:58 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-07 19:25:58 +0000
commitd211b29e05fe69a8f21d1b56df1bab7865f60f48 (patch)
treeb1945cb8bf2261cf1bd254286c700a8418952ee4
parent1e79771c310e3b22984f1cc989afd4434bfcc2c4 (diff)
downloadffmpeg-d211b29e05fe69a8f21d1b56df1bab7865f60f48.tar.gz
regtest: place image sequence outputs in separate directories
Originally committed as revision 22282 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xtests/lavf-regression.sh8
-rw-r--r--tests/ref/lavf/bmp6
-rw-r--r--tests/ref/lavf/jpg6
-rw-r--r--tests/ref/lavf/pcx6
-rw-r--r--tests/ref/lavf/pgm6
-rw-r--r--tests/ref/lavf/ppm6
-rw-r--r--tests/ref/lavf/sgi6
-rw-r--r--tests/ref/lavf/tga6
-rw-r--r--tests/ref/lavf/tiff6
9 files changed, 29 insertions, 27 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 3f4a677bb3..6e489a6f35 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -27,12 +27,14 @@ do_streamed_images()
do_image_formats()
{
- file=${outfile}lavf%02d.$1
+ outfile="$datadir/images/$1/"
+ mkdir -p "$outfile"
+ file=${outfile}%02d.$1
$echov $ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
$ffmpeg -t 0.5 -y -qscale 10 -f image2 -vcodec pgmyuv -i $raw_src $2 $3 -flags +bitexact -sws_flags +accurate_rnd+bitexact $target_path/$file
- do_md5sum ${outfile}lavf02.$1 >> $logfile
+ do_md5sum ${outfile}02.$1 >> $logfile
do_ffmpeg_crc $file $3 -i $target_path/$file
- wc -c ${outfile}lavf02.$1 >> $logfile
+ wc -c ${outfile}02.$1 >> $logfile
}
do_audio_only()
diff --git a/tests/ref/lavf/bmp b/tests/ref/lavf/bmp
index 72cd57ae69..8958855eee 100644
--- a/tests/ref/lavf/bmp
+++ b/tests/ref/lavf/bmp
@@ -1,3 +1,3 @@
-71f4d64a6b3c71f43a4eff526f84841c *./tests/data/lavf/lavf02.bmp
-./tests/data/lavf/lavf%02d.bmp CRC=0xe6c71946
-304182 ./tests/data/lavf/lavf02.bmp
+71f4d64a6b3c71f43a4eff526f84841c *./tests/data/images/bmp/02.bmp
+./tests/data/images/bmp/%02d.bmp CRC=0xe6c71946
+304182 ./tests/data/images/bmp/02.bmp
diff --git a/tests/ref/lavf/jpg b/tests/ref/lavf/jpg
index b924f4461c..8b2ab409c7 100644
--- a/tests/ref/lavf/jpg
+++ b/tests/ref/lavf/jpg
@@ -1,3 +1,3 @@
-d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/lavf/lavf02.jpg
-./tests/data/lavf/lavf%02d.jpg CRC=0xb8bc5a32
-31763 ./tests/data/lavf/lavf02.jpg
+d56c19d41e9754939ea0f15d09bc4a32 *./tests/data/images/jpg/02.jpg
+./tests/data/images/jpg/%02d.jpg CRC=0xb8bc5a32
+31763 ./tests/data/images/jpg/02.jpg
diff --git a/tests/ref/lavf/pcx b/tests/ref/lavf/pcx
index 491c16dd5c..bdb2204c42 100644
--- a/tests/ref/lavf/pcx
+++ b/tests/ref/lavf/pcx
@@ -1,3 +1,3 @@
-2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/lavf/lavf02.pcx
-./tests/data/lavf/lavf%02d.pcx CRC=0x6da01946
-364147 ./tests/data/lavf/lavf02.pcx
+2df1d747fba23d03b6ff9c91b8b465c9 *./tests/data/images/pcx/02.pcx
+./tests/data/images/pcx/%02d.pcx CRC=0x6da01946
+364147 ./tests/data/images/pcx/02.pcx
diff --git a/tests/ref/lavf/pgm b/tests/ref/lavf/pgm
index 420e6c4874..4043f7a118 100644
--- a/tests/ref/lavf/pgm
+++ b/tests/ref/lavf/pgm
@@ -1,3 +1,3 @@
-388f5c51a678ca6a52cc006095c12f08 *./tests/data/lavf/lavf02.pgm
-./tests/data/lavf/lavf%02d.pgm CRC=0x418d2963
-101391 ./tests/data/lavf/lavf02.pgm
+388f5c51a678ca6a52cc006095c12f08 *./tests/data/images/pgm/02.pgm
+./tests/data/images/pgm/%02d.pgm CRC=0x418d2963
+101391 ./tests/data/images/pgm/02.pgm
diff --git a/tests/ref/lavf/ppm b/tests/ref/lavf/ppm
index 26a1250f65..97093aaac5 100644
--- a/tests/ref/lavf/ppm
+++ b/tests/ref/lavf/ppm
@@ -1,3 +1,3 @@
-16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/lavf/lavf02.ppm
-./tests/data/lavf/lavf%02d.ppm CRC=0x6da01946
-304143 ./tests/data/lavf/lavf02.ppm
+16d5dadf0b362fc8ba3cb676c5dde985 *./tests/data/images/ppm/02.ppm
+./tests/data/images/ppm/%02d.ppm CRC=0x6da01946
+304143 ./tests/data/images/ppm/02.ppm
diff --git a/tests/ref/lavf/sgi b/tests/ref/lavf/sgi
index 402f6f017c..a43c1f4287 100644
--- a/tests/ref/lavf/sgi
+++ b/tests/ref/lavf/sgi
@@ -1,3 +1,3 @@
-7054acafd275e51cec28d4518e213081 *./tests/data/lavf/lavf02.sgi
-./tests/data/lavf/lavf%02d.sgi CRC=0x6da01946
-308151 ./tests/data/lavf/lavf02.sgi
+7054acafd275e51cec28d4518e213081 *./tests/data/images/sgi/02.sgi
+./tests/data/images/sgi/%02d.sgi CRC=0x6da01946
+308151 ./tests/data/images/sgi/02.sgi
diff --git a/tests/ref/lavf/tga b/tests/ref/lavf/tga
index 75849c9bde..7efaf97828 100644
--- a/tests/ref/lavf/tga
+++ b/tests/ref/lavf/tga
@@ -1,3 +1,3 @@
-c0305c53e6d79d4ed9f35f04f671246c *./tests/data/lavf/lavf02.tga
-./tests/data/lavf/lavf%02d.tga CRC=0xe6c71946
-304172 ./tests/data/lavf/lavf02.tga
+c0305c53e6d79d4ed9f35f04f671246c *./tests/data/images/tga/02.tga
+./tests/data/images/tga/%02d.tga CRC=0xe6c71946
+304172 ./tests/data/images/tga/02.tga
diff --git a/tests/ref/lavf/tiff b/tests/ref/lavf/tiff
index 082c7434e1..4b0b985f76 100644
--- a/tests/ref/lavf/tiff
+++ b/tests/ref/lavf/tiff
@@ -1,3 +1,3 @@
-b3299346a8959553a437e486d8f3bf76 *./tests/data/lavf/lavf02.tiff
-./tests/data/lavf/lavf%02d.tiff CRC=0x6da01946
-307131 ./tests/data/lavf/lavf02.tiff
+b3299346a8959553a437e486d8f3bf76 *./tests/data/images/tiff/02.tiff
+./tests/data/images/tiff/%02d.tiff CRC=0x6da01946
+307131 ./tests/data/images/tiff/02.tiff