summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2019-02-01 22:40:38 +0100
committerDiego Biurrun <diego@biurrun.de>2019-02-16 13:09:35 +0100
commite22ffb3805f6994bd1fd7ab73e6297f36a53f915 (patch)
treebe615c1855b19d19e5e512fb10fd5fbd81dab2f4 /tests/Makefile
parent7e5bde93a1e7641e1622814dafac0be3f413d79b (diff)
downloadffmpeg-streaming-e22ffb3805f6994bd1fd7ab73e6297f36a53f915.zip
ffmpeg-streaming-e22ffb3805f6994bd1fd7ab73e6297f36a53f915.tar.gz
tests: Unify output directory creation
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index c3dd587..8d9a424 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -2,7 +2,8 @@ THREADS = 1
VREF = tests/vsynth1/00.pgm
AREF = tests/data/asynth1.sw
-OUTDIRS += tests/data tests/vsynth1 tests/data/filtergraphs
+FATE_OUTDIRS = tests/data tests/data/fate tests/data/filtergraphs tests/data/lavf tests/data/pixfmt tests/vsynth1
+OUTDIRS += $(FATE_OUTDIRS)
$(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(M)./$< 'tests/vsynth1/'
@@ -149,7 +150,7 @@ $(addprefix fate-, $(IGNORE_TESTS)): REPORT=ignore
fate: $(FATE)
-$(FATE): $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
+$(FATE): $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) | $(FATE_OUTDIRS)
@echo "TEST $(@:fate-%=%)"
$(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)' '$(GEN)' '$(HWACCEL)' '$(REPORT)'
OpenPOWER on IntegriCloud