From 37063714c0a064808f9671ec4d376955d664f463 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 18 Jul 2013 18:12:27 +0200 Subject: build: Only check FATE dependencies when running FATE tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only check dependencies if invoking the make targets 'check' or anything matching 'fate%' except 'fate-rsync'. Signed-off-by: Martin Storsjö --- tests/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Makefile') 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)), \ -- cgit v1.2.3