yuv9 -> yv12 bugfixes
[ffmpeg.git] / tests / Makefile
index 2c4762d80f57678782422b285a0d6553e182a399..6358b5c81f946b4bc3fb88b2227f57198cac92bd 100644 (file)
@@ -6,10 +6,17 @@ include ../config.mak
 
 VPATH=$(SRC_PATH)/tests
 CFLAGS=-O2 -Wall -g
+
 REFFILE=$(SRC_PATH)/tests/ffmpeg.regression.ref
+
+SERVER_REFFILE=$(SRC_PATH)/tests/ffserver.regression.ref
+
 LIBAV_REFFILE=$(SRC_PATH)/tests/libav.regression.ref
 
-all: test
+all: test test-server
+
+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
@@ -38,6 +45,7 @@ audiogen: audiogen.c
 
 DSPDEPS = $(SRC_PATH)/libavcodec/i386/dsputil_mmx.c \
  $(SRC_PATH)/libavcodec/i386/dsputil_mmx_avg.h \
+ $(SRC_PATH)/libavcodec/i386/dsputil_mmx_rnd.h \
  $(SRC_PATH)/libavcodec/i386/fdct_mmx.c \
  $(SRC_PATH)/libavcodec/i386/idct_mmx.c \
  $(SRC_PATH)/libavcodec/i386/motion_est_mmx.c \
@@ -52,5 +60,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
+       rm -rf vsynth1 data
        rm -f asynth1.sw *~ audiogen videogen