]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Don't run libavtest if CONFIG_GPL is not set.
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 18 Oct 2006 10:09:16 +0000 (10:09 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 18 Oct 2006 10:09:16 +0000 (10:09 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6727 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

tests/Makefile

index 48208e9cee6aadba18b52a5fd2d2254307b04376..6f26bd6dca4832ea867da579c1c8a6d5e4de0fcc 100644 (file)
@@ -25,11 +25,15 @@ codectest mpeg4 mpeg ac3 snow snowll: vsynth1/00.pgm vsynth2/00.pgm asynth1.sw t
        @$(VPATH)/regression.sh $@ $(REFFILE2) vsynth2
 
 # fast regression for libav formats
+ifeq ($(CONFIG_GPL),yes)
 libavtest: vsynth1/00.pgm asynth1.sw
+       @$(VPATH)/regression.sh $@ $(LIBAV_REFFILE) vsynth1
+else
+libavtest:
        @echo
        @echo "This test requires FFmpeg to be compiled with --enable-gpl."
        @echo
-       @$(VPATH)/regression.sh $@ $(LIBAV_REFFILE) vsynth1
+endif
 
 # video generation