aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-08-03 06:21:15 -0700
committerDiego Biurrun <diego@biurrun.de>2014-08-04 11:08:35 -0700
commiteee813eec7d3c0b0689f80665d3f796401742935 (patch)
treee39aae8d4f10296d09b7436524664525a6d19078 /tests
parent990e2f3555bb0adae122d3599938ddcfee46e2d1 (diff)
downloadffmpeg-eee813eec7d3c0b0689f80665d3f796401742935.tar.gz
fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/filter-video.mak4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index bbe77ce6e2..cd9050796b 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -122,7 +122,9 @@ tests/pixfmts.mak: avconv$(EXESUF)
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
$(Q)printf "\n" >> $@
-ifneq (,$(RUNNING_FATE))
+RUNNING_PIXFMTS_TESTS := $(filter check fate-list fate-filter-pixdesc%,$(MAKECMDGOALS))
+
+ifneq (,$(RUNNING_PIXFMTS_TESTS))
-include tests/pixfmts.mak
endif