fate.sh: add support for build-only FATE instances
authorDiego Biurrun <diego@biurrun.de>
Sat, 6 Oct 2012 15:22:05 +0000 (15:22 +0000)
committerMartin Storsjö <martin@martin.st>
Tue, 21 May 2013 07:07:19 +0000 (10:07 +0300)
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@martin.st>
doc/fate.texi
tests/fate.sh

index bc6ab3e..f076acd 100644 (file)
@@ -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=
index 86e4178..d2bc178 100755 (executable)
@@ -66,6 +66,7 @@ compile()(
 )
 
 fate()(
+    test "$build_only" = "yes" && return
     cd ${build} || return
     ${make} ${makeopts} -k fate
 )