diff options
author | Michael Adam <obnox@samba.org> | 2011-10-12 22:27:55 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-11-13 14:37:57 +0100 |
commit | 1da294a7eb2d76bd5312cc056fd13a6203270149 (patch) | |
tree | 5a8d952b69ce0b85cbae116e6bf4642215dc3672 /script | |
parent | f087a8e2b81fae82fa571ef09d2d1cb682cc8ff8 (diff) | |
download | samba-1da294a7eb2d76bd5312cc056fd13a6203270149.tar.gz |
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 <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-x | script/autobuild.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index fe39ed9773c..f62ce95f3a1 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"), |