[FFmpeg-cvslog] build: Only check FATE dependencies when running FATE tests
Diego Biurrun
git at videolan.org
Sun Jul 28 11:58:46 CEST 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jul 18 18:12:27 2013 +0200| [37063714c0a064808f9671ec4d376955d664f463] | committer: Martin Storsjö
build: Only check FATE dependencies when running FATE tests
Only check dependencies if invoking the make targets 'check'
or anything matching 'fate%' except 'fate-rsync'.
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=37063714c0a064808f9671ec4d376955d664f463
---
tests/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/Makefile b/tests/Makefile
index e32320d..4153a70 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -24,7 +24,10 @@ tests/data/filtergraphs/%: TAG = COPY
tests/data/filtergraphs/%: $(SRC_PATH)/tests/filtergraphs/% | tests/data/filtergraphs
$(M)cp $< $@
+# Check sanity of dependencies when running FATE tests.
+ifneq (,$(filter check fate%,$(filter-out fate-rsync,$(MAKECMDGOALS))))
CHKCFG = $(if $($(1))$(!$(1)),$($(1)), $(error No such config: $(1)))
+endif
ALLYES = $(strip $(call XYES, $(1)))
XYES = $(if $(strip $(1)), \
More information about the ffmpeg-cvslog
mailing list