diff --git a/tests/ref/seek/lavf02.bmp.ref b/tests/ref/seek/%02d.bmp.ref similarity index 100% rename from tests/ref/seek/lavf02.bmp.ref rename to tests/ref/seek/%02d.bmp.ref diff --git a/tests/ref/seek/lavf02.jpg.ref b/tests/ref/seek/%02d.jpg.ref similarity index 98% rename from tests/ref/seek/lavf02.jpg.ref rename to tests/ref/seek/%02d.jpg.ref index 5f87539a22..d968f3e072 100644 --- a/tests/ref/seek/lavf02.jpg.ref +++ b/tests/ref/seek/%02d.jpg.ref @@ -1,4 +1,4 @@ -ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size: 31763 +ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size: 31351 ret:-EINVAL st:-1 flags:0 ts:-1.000000 ret:-EINVAL st:-1 flags:1 ts: 1.894167 ret:-EINVAL st: 0 flags:0 ts: 0.800000 diff --git a/tests/ref/seek/lavf02.pcx.ref b/tests/ref/seek/%02d.pcx.ref similarity index 98% rename from tests/ref/seek/lavf02.pcx.ref rename to tests/ref/seek/%02d.pcx.ref index 6b72427666..418674f7a2 100644 --- a/tests/ref/seek/lavf02.pcx.ref +++ b/tests/ref/seek/%02d.pcx.ref @@ -1,4 +1,4 @@ -ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:364147 +ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:364047 ret:-EINVAL st:-1 flags:0 ts:-1.000000 ret:-EINVAL st:-1 flags:1 ts: 1.894167 ret:-EINVAL st: 0 flags:0 ts: 0.800000 diff --git a/tests/ref/seek/lavf02.pgm.ref b/tests/ref/seek/%02d.pgm.ref similarity index 100% rename from tests/ref/seek/lavf02.pgm.ref rename to tests/ref/seek/%02d.pgm.ref diff --git a/tests/ref/seek/lavf02.ppm.ref b/tests/ref/seek/%02d.ppm.ref similarity index 100% rename from tests/ref/seek/lavf02.ppm.ref rename to tests/ref/seek/%02d.ppm.ref diff --git a/tests/ref/seek/lavf02.sgi.ref b/tests/ref/seek/%02d.sgi.ref similarity index 98% rename from tests/ref/seek/lavf02.sgi.ref rename to tests/ref/seek/%02d.sgi.ref index 9c71747005..b2f605ad94 100644 --- a/tests/ref/seek/lavf02.sgi.ref +++ b/tests/ref/seek/%02d.sgi.ref @@ -1,4 +1,4 @@ -ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:308151 +ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:308336 ret:-EINVAL st:-1 flags:0 ts:-1.000000 ret:-EINVAL st:-1 flags:1 ts: 1.894167 ret:-EINVAL st: 0 flags:0 ts: 0.800000 diff --git a/tests/ref/seek/lavf02.tga.ref b/tests/ref/seek/%02d.tga.ref similarity index 100% rename from tests/ref/seek/lavf02.tga.ref rename to tests/ref/seek/%02d.tga.ref diff --git a/tests/ref/seek/lavf02.tiff.ref b/tests/ref/seek/%02d.tiff.ref similarity index 98% rename from tests/ref/seek/lavf02.tiff.ref rename to tests/ref/seek/%02d.tiff.ref index c980eabea5..1b49f2f2e7 100644 --- a/tests/ref/seek/lavf02.tiff.ref +++ b/tests/ref/seek/%02d.tiff.ref @@ -1,4 +1,4 @@ -ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:307131 +ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: -1 size:307124 ret:-EINVAL st:-1 flags:0 ts:-1.000000 ret:-EINVAL st:-1 flags:1 ts: 1.894167 ret:-EINVAL st: 0 flags:0 ts: 0.800000 diff --git a/tests/seek-regression.sh b/tests/seek-regression.sh index 59befd0f2e..ae0ef6767e 100755 --- a/tests/seek-regression.sh +++ b/tests/seek-regression.sh @@ -14,9 +14,10 @@ refdir="$src_path/tests/ref/seek" datadir="tests/data" list=$(ls -1 $datadir/vsynth2/* $datadir/acodec/* $datadir/lavf/*) +imgs=$(for i in $datadir/images/*; do echo "$i/%02d.${i##*/}"; done) err=0 -for i in $list ; do +for i in $list $imgs; do base=$(basename $i) logfile="$datadir/$base.seek.regression" reffile="$refdir/$base.ref"