Merge commit 'eee813eec7d3c0b0689f80665d3f796401742935'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Aug 2014 23:20:03 +0000 (01:20 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Aug 2014 23:20:20 +0000 (01:20 +0200)
* commit 'eee813eec7d3c0b0689f80665d3f796401742935':
  fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tests/fate/filter-video.mak

index d87129b..17ec159 100644 (file)
@@ -289,7 +289,9 @@ tests/pixfmts.mak: ffmpeg$(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