Commit 043e4767 authored by diego's avatar diego

Bail out if regtest-flashsv is run but zlib is not enabled.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17486 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4bec4aa0
...@@ -289,6 +289,15 @@ swscale-error: ...@@ -289,6 +289,15 @@ swscale-error:
@exit 1 @exit 1
endif endif
ifneq ($(CONFIG_ZLIB),yes)
regtest-flashsv codectest: zlib-error
endif
zlib-error:
@echo
@echo "This regression test requires zlib."
@echo
@exit 1
codectest: $(VSYNTH_REG) $(ROTOZOOM_REG) codectest: $(VSYNTH_REG) $(ROTOZOOM_REG)
diff -u -w $(FFMPEG_REFFILE) $(VSYNTH_REG) diff -u -w $(FFMPEG_REFFILE) $(VSYNTH_REG)
diff -u -w $(ROTOZOOM_REFFILE) $(ROTOZOOM_REG) diff -u -w $(ROTOZOOM_REFFILE) $(ROTOZOOM_REG)
...@@ -346,6 +355,6 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS) ...@@ -346,6 +355,6 @@ tests/seek_test$(EXESUF): tests/seek_test.c $(FF_DEP_LIBS)
$(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS) $(CC) $(FF_LDFLAGS) $(CFLAGS) -o $@ $< $(FF_EXTRALIBS)
.PHONY: lib videohook documentation *test regtest-* swscale-error alltools check .PHONY: lib videohook documentation *test regtest-* swscale-error zlib-error alltools check
-include $(VHOOK_DEPS) -include $(VHOOK_DEPS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment