diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-04-11 13:43:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-04-11 13:43:17 +0000 |
commit | 6afd3b92b43818443a193528bd4e909b96068c22 (patch) | |
tree | 043e6f4255cf537c7732c742dd7c80c7fb3350e5 /tests/Makefile | |
parent | 66961636087ea97cb5e61ebe38c9040b8a7278b5 (diff) | |
download | ffmpeg-6afd3b92b43818443a193528bd4e909b96068c22.tar.gz |
finished integrating rotozoom test in ffmpeg
replaced float by integer to avoid rounding differenes between platforms
Originally committed as revision 1755 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/tests/Makefile b/tests/Makefile index 13c16b81b7..b4ab9a0198 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -7,7 +7,8 @@ include ../config.mak VPATH=$(SRC_PATH)/tests CFLAGS=-O2 -Wall -g -REFFILE=$(SRC_PATH)/tests/ffmpeg.regression.ref +REFFILE1=$(SRC_PATH)/tests/ffmpeg.regression.ref +REFFILE2=$(SRC_PATH)/tests/rotozoom.regression.ref SERVER_REFFILE=$(SRC_PATH)/tests/ffserver.regression.ref @@ -19,12 +20,13 @@ test-server: vsynth1/0.pgm asynth1.sw @$(SRC_PATH)/tests/server-regression.sh $(SERVER_REFFILE) # fast regression tests for all codecs -test mpeg4 mpeg: vsynth1/0.pgm asynth1.sw tiny_psnr - @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE) || true +test mpeg4 mpeg: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr + @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE1) vsynth1 || true + @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE2) vsynth2 || true # fast regression for libav formats libavtest: vsynth1/0.pgm asynth1.sw - @$(SRC_PATH)/tests/regression.sh $@ $(LIBAV_REFFILE) + @$(SRC_PATH)/tests/regression.sh $@ $(LIBAV_REFFILE) vsynth1 # video generation @@ -32,9 +34,16 @@ vsynth1/0.pgm: videogen @mkdir -p vsynth1 ./videogen 'vsynth1/' +vsynth2/0.pgm: rotozoom + @mkdir -p vsynth2 + ./rotozoom 'vsynth2/' + videogen: videogen.c $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< +rotozoom: rotozoom.c + $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< + # audio generation asynth1.sw: audiogen @@ -63,5 +72,5 @@ dsptest: dsptest.c $(DSPDEPS) $(CC) -O4 -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)/libavcodec/i386 -I$(SRC_PATH)/libavcodec/ -o $@ $< -lm clean: - rm -rf vsynth1 data + rm -rf vsynth1 vsynth2 data rm -f asynth1.sw *~ audiogen videogen |