diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-29 02:41:28 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-08-01 01:18:30 -0700 |
commit | 706208ef47bffd525c982975d2756f7b2b220b8d (patch) | |
tree | 1857faef038f92b0929bb9cf725a5ede4913dcea /tests/Makefile | |
parent | d98e6c5d5d80c1dfe0c30f2e73d41a3aea0b920d (diff) | |
download | ffmpeg-706208ef47bffd525c982975d2756f7b2b220b8d.tar.gz |
fate: Split fate-pixdesc tests and dispatch them through Make
This allows running all the tests individually and/or in parallel.
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) |