summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-07-18 18:12:27 +0200
committerMartin Storsjö <martin@martin.st>2013-07-27 16:50:21 +0300
commit37063714c0a064808f9671ec4d376955d664f463 (patch)
tree93a04428971b7037d0d485924c5c645d9014d684 /tests/Makefile
parent16c22122c788b5e54a2f2e224bd0106429f0714c (diff)
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@martin.st>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
index e32320dc9c..4153a7002e 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)), \