From 1da294a7eb2d76bd5312cc056fd13a6203270149 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Oct 2011 22:27:55 +0200 Subject: autobuild: add a "ctdb" target For a start, 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. Signed-off-by: Michael Adam Signed-off-by: Stefan Metzmacher --- script/autobuild.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/script/autobuild.py b/script/autobuild.py index fe39ed9773..f62ce95f3a 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -16,6 +16,7 @@ os.environ['TDB_NO_FSYNC'] = '1' cleanup_list = [] builddirs = { + "ctdb" : "ctdb", "samba" : ".", "samba-ctdb" : ".", "samba-libs" : ".", @@ -31,9 +32,17 @@ builddirs = { "retry" : "." } -defaulttasks = [ "samba", "samba-ctdb", "samba-libs", "ldb", "tdb", "ntdb", "talloc", "replace", "tevent", "pidl" ] +defaulttasks = [ "ctdb", "samba", "samba-ctdb", "samba-libs", "ldb", "tdb", "ntdb", "talloc", "replace", "tevent", "pidl" ] tasks = { + "ctdb" : [ ("random-sleep", "../script/random-sleep.sh 60 600", "text/plain"), + ("autogen", "./autogen.sh", "text/plain"), + ("configure", "./configure ${PREFIX}", "text/plain"), + ("make", "make all", "text/plain"), + ("install", "make install", "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"), -- cgit