fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run

This commit is contained in:
Diego Biurrun 2014-08-03 06:21:15 -07:00
parent 990e2f3555
commit eee813eec7
1 changed files with 3 additions and 1 deletions

View File

@ -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