aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-15 23:11:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-15 23:11:46 +0200
commit6ae356c9a0987d56f60137f9784afcb3a9303037 (patch)
treead61e3917b8afc36b3e2f34ade01e77a5770086a /tests/Makefile
parentd27dc69bc67a1e49df08e3a414b18cef04889618 (diff)
downloadffmpeg-6ae356c9a0987d56f60137f9784afcb3a9303037.tar.gz
fate: allow specifying the tool to use for fate (avconv / ffmpeg)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 9debd5c9b2..2b717d60f7 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -91,11 +91,13 @@ endif
FATE_UTILS = base64 tiny_psnr
+TOOL = avconv
+
fate: $(FATE)
-$(FATE): avconv$(EXESUF) $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
+$(FATE): $(TOOL)$(EXESUF) $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
@echo "TEST $(@:fate-%=%)"
- $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)'
+ $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(TOOL)'
fate-list:
@printf '%s\n' $(sort $(FATE))