[FFmpeg-cvslog] fate.sh: add support for build-only FATE instances

Diego Biurrun git at videolan.org
Tue May 21 11:42:16 CEST 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Oct  6 15:22:05 2012 +0000| [c209d0df657f172f42d9bafbcdfa02dfb14f6965] | committer: Martin Storsjö

fate.sh: add support for build-only FATE instances

If the "build_only" variable is set in the configuration file, the
FATE client will skip running tests and just compile all targets.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 doc/fate.texi |    1 +
 tests/fate.sh |    1 +
 2 files changed, 2 insertions(+)

diff --git a/doc/fate.texi b/doc/fate.texi
index bc6ab3e..f076acd 100644
--- a/doc/fate.texi
+++ b/doc/fate.texi
@@ -120,6 +120,7 @@ samples=/path/to/fate/samples
 workdir=                                # directory in which to do all the work
 fate_recv="ssh -T fate@@fate.libav.org"  # command to submit report
 comment=                                # optional description
+build_only=     # set to "yes" for a compile-only instance that skips tests
 
 # the following are optional and map to configure options
 arch=
diff --git a/tests/fate.sh b/tests/fate.sh
index 86e4178..d2bc178 100755
--- a/tests/fate.sh
+++ b/tests/fate.sh
@@ -66,6 +66,7 @@ compile()(
 )
 
 fate()(
+    test "$build_only" = "yes" && return
     cd ${build} || return
     ${make} ${makeopts} -k fate
 )



More information about the ffmpeg-cvslog mailing list