support samba_3_waf builds
authorAndrew Tridgell <tridge@samba.org>
Tue, 8 Feb 2011 23:18:18 +0000 (10:18 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 8 Feb 2011 23:18:18 +0000 (10:18 +1100)
build_test.fns

index 552862a773b80b2e97034e719221074d50620862..7b2bff8403f42bddaaae7a422c1cddae2e858bc8 100644 (file)
@@ -345,7 +345,7 @@ action_lcovreport() {
 ############################
 
 action_configure() {
-
+        # special handling for some trees
        case "$tree" in
            waf*)
                $builddir/timelimit $MAXTIME ./waf configure
@@ -353,6 +353,15 @@ action_configure() {
                echo "CONFIGURE STATUS: $cstatus"
                return $cstatus
                ;;
+           samba_3_waf)
+               $builddir/timelimit $MAXTIME $srcdir/autogen-waf.sh
+               cstatus=$?
+               echo "autogen-waf.sh STATUS: $cstatus"
+               if [ x"$cstatus" != x"0" ]; then
+                   return $cstatus
+               fi
+               # fall through
+               ;;
        esac
 
        if [ ! -x $srcdir/configure -a -r $srcdir/Makefile.PL ]; then