diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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) |