cleanup_list = []
-os.putenv('CC', "ccache gcc")
-
builddirs = {
"samba3" : "source3",
"samba4" : ".",
- "ldb" : "source4/lib/ldb",
+ "ldb" : "lib/ldb",
"tdb" : "lib/tdb",
"talloc" : "lib/talloc",
"replace" : "lib/replace",
"samba3" : [ ("autogen", "./autogen.sh", "text/plain"),
("configure", "./configure.developer ${PREFIX}", "text/plain"),
("make basics", "make basics", "text/plain"),
- ("make", "make -j 4 everything", "text/plain"), # don't use too many processes
+ # we split 'make -j 4', 'make bin/smbtorture4' and 'make -j 4 everything'
+ # because it makes it much easier to find errors.
+ ("make", "make -j 4", "text/plain"), # don't use too many processes
+ ("make bin/smbtorture4", "make -j 4 bin/smbtorture4", "text/plain"),
+ ("make everything", "make -j 4 everything", "text/plain"),
("install", "make install", "text/plain"),
("test", "TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "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'
- "samba4" : [ ("configure", "./configure.developer ${PREFIX}", "text/plain"),
+ "samba4" : [ ("configure", "./configure.developer ${PREFIX} --with-selftest-prefix=./bin/ab", "text/plain"),
("make", "make -j", "text/plain"),
("test", "TDB_NO_FSYNC=1 make test FAIL_IMMEDIATELY=1", "text/plain"),
("install", "make install", "text/plain"),
("make", "make -j", "text/plain"),
("install", "make install", "text/plain"),
("test", "TDB_NO_FSYNC=1 make test", "text/plain"),
- ("check-clean-tree", "../../../script/clean-source-tree.sh", "text/plain"),
+ ("check-clean-tree", "../../script/clean-source-tree.sh", "text/plain"),
("distcheck", "make distcheck", "text/plain"),
("clean", "make clean", "text/plain") ],
sys.exit(0)
run_cmd("git describe master/master", show=True, dir=test_master)
run_cmd("git describe HEAD", show=True, dir=test_master)
- run_cmd("git --no-pager diff HEAD master/master | diffstat", show=True, dir=test_master)
+ run_cmd("git --no-pager diff --stat HEAD master/master", show=True, dir=test_master)
def push_to(url):
print("Pushing to %s" % url)