summaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-03-10 21:15:38 -0300
committerJames Almer <jamrial@gmail.com>2019-03-10 21:15:38 -0300
commit1c9ac700dd141e545538a824f5a8cb81bb0a375d (patch)
treeebeb863f19e10bc519f30889811a0ced9dc60198 /tests/Makefile
parent06476249cd2332e30b66576633b2827adf3478dd (diff)
parente22ffb3805f6994bd1fd7ab73e6297f36a53f915 (diff)
downloadffmpeg-streaming-1c9ac700dd141e545538a824f5a8cb81bb0a375d.zip
ffmpeg-streaming-1c9ac700dd141e545538a824f5a8cb81bb0a375d.tar.gz
Merge commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915'
* commit 'e22ffb3805f6994bd1fd7ab73e6297f36a53f915': tests: Unify output directory creation Merged-by: James Almer <jamrial@gmail.com>
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 0e80977..ae65869 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -10,7 +10,8 @@ FFMPEG=ffmpeg$(PROGSSUF)$(EXESUF)
$(AREF): CMP=
APITESTSDIR := tests/api
-OUTDIRS += tests/data tests/vsynth1 tests/data/filtergraphs $(APITESTSDIR)/
+FATE_OUTDIRS = tests/data tests/data/fate tests/data/filtergraphs tests/data/lavf tests/data/lavf-fate tests/data/pixfmt tests/vsynth1 $(APITESTSDIR)
+OUTDIRS += $(FATE_OUTDIRS)
$(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(M)./$< 'tests/vsynth1/'
@@ -224,7 +225,7 @@ fate-hw: $(FATE_HW-yes)
FATE += $(FATE_HW-yes)
$(FATE) $(FATE_TESTS-no): export PROGSUF = $(PROGSSUF)
-$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
+$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF)) | $(FATE_OUTDIRS)
@echo "TEST $(@:fate-%=%)"
$(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(TARGET_SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)' '$(GEN)' '$(HWACCEL)' '$(REPORT)' '$(KEEP)'
OpenPOWER on IntegriCloud