summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-08-16 13:54:14 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-08-29 05:28:16 +0200
commit38784f2b371af2471ec08cf38bbcaea004efcce3 (patch)
tree37d7382899efabc687bdf695f4cf007ee28cc562 /script
parentce53dd9cf41f195ba784f40f74910891895bf695 (diff)
downloadsamba-38784f2b371af2471ec08cf38bbcaea004efcce3.tar.gz
autobuild: Reduce duplication of task list in autobuild
The defaulttasks or builddirs are often updated out of sync, which causes confusion until it is resolved. We simply choose "." as the builddir for the tasks that are not in the default set. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py38
1 files changed, 6 insertions, 32 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index e34a5a83faa..dec6935b558 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -39,7 +39,6 @@ builddirs = {
"samba-libs": ".",
"samba-libs-py3": ".",
"samba-static": ".",
- "samba-test-only": ".",
"samba-none-env": ".",
"samba-none-env-py3": ".",
"samba-ad-dc": ".",
@@ -53,38 +52,10 @@ builddirs = {
"talloc": "lib/talloc",
"replace": "lib/replace",
"tevent": "lib/tevent",
- "pidl": "pidl",
- "pass": ".",
- "fail": ".",
- "retry": "."
+ "pidl": "pidl"
}
-defaulttasks = ["ctdb",
- "samba",
- "samba-py3",
- "samba-nt4",
- "samba-nt4-py3",
- "samba-fileserver",
- "samba-xc",
- "samba-o3",
- "samba-ctdb",
- "samba-libs",
- "samba-libs-py3",
- "samba-static",
- "samba-none-env",
- "samba-none-env-py3",
- "samba-ad-dc",
- "samba-ad-dc-py3",
- "samba-ad-dc-2",
- "samba-ad-dc-2-py3",
- "samba-systemkrb5",
- "samba-nopython",
- "ldb",
- "tdb",
- "talloc",
- "replace",
- "tevent",
- "pidl"]
+defaulttasks = builddirs.keys()
if os.environ.get("AUTOBUILD_SKIP_SAMBA_O3", "0") == "1":
defaulttasks.remove("samba-o3")
@@ -432,7 +403,10 @@ class builder(object):
def __init__(self, name, sequence, cp=True, py3=False):
self.name = name
self.py3 = py3
- self.dir = builddirs[name]
+ if name in builddirs:
+ self.dir = builddirs[name]
+ else:
+ self.dir = "."
self.tag = self.name.replace('/', '_')
self.sequence = sequence