summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-18 10:09:16 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-18 10:09:16 +0000
commitca6127352ff7651c9f552584ac2d918a1d125f6b (patch)
tree952625b037c2e26faac0ae7cf365a2fe8a6410c5 /tests/Makefile
parenta0f2c6ba38b2159f5f23edfffa204e11533b0b41 (diff)
Don't run libavtest if CONFIG_GPL is not set.
Originally committed as revision 6727 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 48208e9cee..6f26bd6dca 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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