seek tests only available with GPL enabled

Originally committed as revision 9154 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Benoit Fouet 2007-05-30 07:11:03 +00:00
parent db8f4a92c9
commit 9f6c879365
1 changed files with 3 additions and 4 deletions

View File

@ -31,8 +31,10 @@ codectest mpeg4 mpeg ac3 snow snowll: vsynth1/00.pgm vsynth2/00.pgm asynth1.sw t
ifeq ($(CONFIG_GPL),yes)
libavtest: vsynth1/00.pgm asynth1.sw
$(SRC_DIR)/regression.sh $@ $(LIBAV_REFFILE) vsynth1
seektest: seek_test$(EXESUF)
$(SRC_DIR)/seek_test.sh $(SEEK_REFFILE)
else
libavtest:
libavtest seektest:
@echo
@echo "This test requires FFmpeg to be compiled with --enable-gpl."
@echo
@ -48,9 +50,6 @@ swscale_error:
@exit 1
endif
seektest: seek_test$(EXESUF)
$(SRC_DIR)/seek_test.sh $(SEEK_REFFILE)
vsynth1/00.pgm: videogen$(EXESUF)
mkdir -p vsynth1
$(BUILD_DIR)/$< 'vsynth1/'