Add tdb2 build master
authorAmitay Isaacs <amitay@gmail.com>
Tue, 6 Mar 2012 23:03:34 +0000 (10:03 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 6 Mar 2012 23:08:02 +0000 (10:08 +1100)
build_test.fns
common.fns
snab.fns
web/trees.conf

index 50ab43c..392180a 100644 (file)
@@ -164,7 +164,7 @@ choose_scm() {
        tree=$1
 
        case "$tree" in
-                       samba* | rsync | libreplace | talloc | tdb | ldb | pidl | ccache* | waf*)
+                       samba* | rsync | libreplace | talloc | tdb* | ldb | pidl | ccache* | waf*)
                        echo "git"
                                return 0
                        ;;
@@ -253,7 +253,7 @@ do_make() {
        MMTIME=$MAXTIME
        # some trees don't need as much time
        case "$tree" in
-               rsync | tdb | talloc | libreplace | ccache* | waf*)
+               rsync | tdb* | talloc | libreplace | ccache* | waf*)
                        if [ "$compiler" != "checker" ]; then
                                MMTIME=`expr $MMTIME / 5`
                        fi
@@ -321,7 +321,7 @@ action_lcovreport() {
                samba_3_master*)
                        lcov --base-directory $builddir --directory $builddir/.. --capture --output-file $builddir/$tree.lcov.info
                        ;;
-               samba_4*|tdb|talloc|ldb|libreplace)
+               samba_4*|tdb*|talloc|ldb|libreplace)
                        lcov --base-directory $builddir/bin --directory $builddir/bin --capture --output-file $builddir/$tree.lcov.info
                        ;;
                waf)
@@ -344,7 +344,7 @@ action_lcovreport() {
 action_callcatcherreport() {
        if [ "$CALLCATCHER_REPORT" = "yes" ]; then
                case "$tree" in
-               tdb|talloc|ldb)
+               tdb*|talloc|ldb)
                        callanalyse `find $builddir/bin -name \*.so*` $builddir/bin/* > $builddir/coverage/unused-fns.txt
                        ;;
                samba_3_master|samba_4*)
index 87fe12d..c25abf2 100644 (file)
@@ -10,5 +10,6 @@ test_tree ccache . $compiler
 test_tree ccache-maint . $compiler
 test_tree talloc . $compiler
 test_tree tdb . $compiler
+test_tree tdb2 . $compiler
 test_tree ldb . $compiler
 test_tree waf demos $compiler
index 204bed6..47ae2d6 100644 (file)
--- a/snab.fns
+++ b/snab.fns
@@ -14,7 +14,7 @@ for d in samba_3_current samba_3_next samba_3_master; do
     test_tree $d source checker configure config_log config_header build cc_checker install test
 done
 
-for d in ldb tdb talloc libreplace lorikeet-heimdal ccache rsync; do
+for d in ldb tdb tdb2 talloc libreplace lorikeet-heimdal ccache rsync; do
     export CFLAGS="$CHECK_FLAGS --beam::data=/home/tridge/beam/$d"
     mkdir -p /home/tridge/beam/$d
     test_tree $d . checker configure config_log config_header build cc_checker install test
index bfa4c03..a0fa138 100644 (file)
@@ -60,6 +60,12 @@ repo = samba.git
 branch = master
 subdir = lib/tdb/
 
+[tdb2]
+scm = git
+repo = samba.git
+branch = master
+subdir = lib/tdb2/
+
 [ldb]
 scm = git
 repo = samba.git