simplify: $(SRC_PATH)/tests --> $(V_PATH)
authorDiego Biurrun <diego@biurrun.de>
Wed, 5 Jul 2006 14:01:45 +0000 (14:01 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 5 Jul 2006 14:01:45 +0000 (14:01 +0000)
Originally committed as revision 5620 to svn://svn.ffmpeg.org/ffmpeg/trunk

tests/Makefile

index 08b0d59..dab7067 100644 (file)
@@ -10,24 +10,24 @@ CFLAGS=-O2 -Wall -g
 REFFILE1=$(SRC_PATH)/tests/ffmpeg.regression.ref
 REFFILE2=$(SRC_PATH)/tests/rotozoom.regression.ref
 
-SERVER_REFFILE=$(SRC_PATH)/tests/ffserver.regression.ref
+SERVER_REFFILE=$(V_PATH)/ffserver.regression.ref
 
-LIBAV_REFFILE=$(SRC_PATH)/tests/libav.regression.ref
+LIBAV_REFFILE=$(V_PATH)/libav.regression.ref
 
 all fulltest: codectest libavtest test-server
 test: codectest libavtest test-server
 
 test-server: vsynth1/0.pgm asynth1.sw
-       @$(SRC_PATH)/tests/server-regression.sh $(SERVER_REFFILE) $(SRC_PATH)/tests/test.conf
+       @$(V_PATH)/server-regression.sh $(SERVER_REFFILE) $(V_PATH)/test.conf
 
 # fast regression tests for all codecs
 codectest mpeg4 mpeg ac3 snow snowll: vsynth1/0.pgm vsynth2/0.pgm asynth1.sw tiny_psnr
-       @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE1) vsynth1
-       @$(SRC_PATH)/tests/regression.sh $@ $(REFFILE2) vsynth2
+       @$(V_PATH)/regression.sh $@ $(REFFILE1) vsynth1
+       @$(V_PATH)/regression.sh $@ $(REFFILE2) vsynth2
 
 # fast regression for libav formats
 libavtest: vsynth1/0.pgm asynth1.sw
-       @$(SRC_PATH)/tests/regression.sh $@ $(LIBAV_REFFILE) vsynth1
+       @$(V_PATH)/regression.sh $@ $(LIBAV_REFFILE) vsynth1
 
 # video generation
 
@@ -37,7 +37,7 @@ vsynth1/0.pgm: videogen
 
 vsynth2/0.pgm: rotozoom
        @mkdir -p vsynth2
-       ./rotozoom 'vsynth2/' $(SRC_PATH)/tests/lena.pnm
+       ./rotozoom 'vsynth2/' $(V_PATH)/lena.pnm
 
 videogen: videogen.c
        $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $<