autobuild: add a "ctdb" target
authorMichael Adam <obnox@samba.org>
Wed, 12 Oct 2011 20:27:55 +0000 (22:27 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 26 Sep 2013 00:00:58 +0000 (02:00 +0200)
For now, this just builds and installs the integrated ctdb copy.
It does not run "make test" in ctdb. This is time consuming and
too flakey for now.

script/autobuild.py

index abca8e80c0bc71ca902c8718a1b789b63c37386e..e39367578cfd9412a337816fa352f03a4a4c46dd 100755 (executable)
@@ -15,6 +15,7 @@ samba_master_ssh = os.getenv('SAMBA_MASTER_SSH', 'git+ssh://git.samba.org/data/g
 cleanup_list = []
 
 builddirs = {
+    "ctdb"    : "ctdb",
     "samba3"  : "source3",
     "samba4"  : ".",
     "ldb"     : "lib/ldb",
@@ -28,9 +29,15 @@ builddirs = {
     "retry"   : "."
     }
 
-defaulttasks = [ "samba3", "samba4", "ldb", "tdb", "talloc", "replace", "tevent", "pidl" ]
+defaulttasks = [ "ctdb", "samba3", "samba4", "ldb", "tdb", "talloc", "replace", "tevent", "pidl" ]
 
 tasks = {
+    "ctdb" : [ ("autogen", "./autogen.sh", "text/plain"),
+               ("configure", "./configure ${PREFIX}", "text/plain"),
+               ("make", "make all", "text/plain"),
+               ("install", "make install", "text/plain"),
+               ("clean", "make clean", "text/plain") ],
+
     "samba3" : [ ("autogen", "./autogen.sh", "text/plain"),
                  ("configure", "./configure.developer ${PREFIX}", "text/plain"),
                  ("make basics", "make basics", "text/plain"),