fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run
authorDiego Biurrun <diego@biurrun.de>
Sun, 3 Aug 2014 13:21:15 +0000 (06:21 -0700)
committerDiego Biurrun <diego@biurrun.de>
Mon, 4 Aug 2014 18:08:35 +0000 (11:08 -0700)
tests/fate/filter-video.mak

index bbe77ce..cd90507 100644 (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