From 706208ef47bffd525c982975d2756f7b2b220b8d Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 29 Jul 2014 02:41:28 -0700 Subject: fate: Split fate-pixdesc tests and dispatch them through Make This allows running all the tests individually and/or in parallel. --- tests/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 414c8f7dcd..6a0def921f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -24,8 +24,10 @@ tests/data/filtergraphs/%: TAG = COPY tests/data/filtergraphs/%: $(SRC_PATH)/tests/filtergraphs/% | tests/data/filtergraphs $(M)cp $< $@ +RUNNING_FATE := $(filter check fate%,$(filter-out fate-rsync,$(MAKECMDGOALS))) + # Check sanity of dependencies when running FATE tests. -ifneq (,$(filter check fate%,$(filter-out fate-rsync,$(MAKECMDGOALS)))) +ifneq (,$(RUNNING_FATE)) CHKCFG = $(if $($(1))$(!$(1)),$($(1)), $(error No such config: $(1))) endif @@ -165,6 +167,7 @@ testclean: $(RM) -r tests/vsynth1 tests/data $(RM) $(CLEANSUFFIXES:%=tests/%) $(RM) $(TESTTOOLS:%=tests/%$(HOSTEXESUF)) + $(RM) tests/pixfmts.mak -include $(wildcard tests/*.d) -- cgit v1.2.3