autobuild: add a target "samba3-ctdb" that builds samba3 (autoconf) with cluster...
authorMichael Adam <obnox@samba.org>
Wed, 20 Jun 2012 12:09:09 +0000 (14:09 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 21 Jun 2012 21:49:19 +0000 (23:49 +0200)
This is achieved by using the ctdb header files copied in from current ctdb
master. Tests are not run. For this we would need to have a full ctdb built and
configured.

script/autobuild.py

index ac17d14c53bbfa52ccdd076eefc4f754a2799103..56b253f65d7f0dad31a6e224700cd3e087fbfa7c 100755 (executable)
@@ -17,6 +17,7 @@ cleanup_list = []
 
 builddirs = {
     "samba3"  : "source3",
+    "samba3-ctdb" : "source3",
     "samba"  : ".",
     "samba-ctdb" : ".",
     "samba-libs"  : ".",
@@ -48,6 +49,15 @@ tasks = {
                  ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"),
                  ("clean", "make clean", "text/plain") ],
 
+    "samba3-ctdb" : [ ("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
+                      ("autogen", "./autogen.sh", "text/plain"),
+                      ("configure", "./configure.developer ${PREFIX} --with-cluster-support --with-ctdb=../ctdb", "text/plain"),
+                      ("make basics", "make basics", "text/plain"),
+                      ("make", "make all", "text/plain"), # don't use too many processes
+                      ("check", "LD_LIBRARY_PATH=./bin ./bin/smbd -b | grep CLUSTER_SUPPORT", "text/plain"),
+                      ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"),
+                      ("clean", "make clean", "text/plain") ],
+
     # We have 'test' before 'install' because, 'test' should work without 'install'
     "samba" : [ ("configure", "./configure.developer ${PREFIX} --with-selftest-prefix=./bin/ab", "text/plain"),
                 ("make", "make -j", "text/plain"),