[SCM] libav/experimental: fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:04:12 UTC 2014


The following commit has been merged in the experimental branch:
commit eee813eec7d3c0b0689f80665d3f796401742935
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sun Aug 3 06:21:15 2014 -0700

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

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index bbe77ce..cd90507 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
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list