[FFmpeg-cvslog] fate: Only generate tests/pixfmts.mak if some pixfmts fate test is run

Diego Biurrun git at videolan.org
Tue Aug 5 01:36:15 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sun Aug  3 06:21:15 2014 -0700| [eee813eec7d3c0b0689f80665d3f796401742935] | committer: Diego Biurrun

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eee813eec7d3c0b0689f80665d3f796401742935
---

 tests/fate/filter-video.mak |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
 



More information about the ffmpeg-cvslog mailing list