summaryrefslogtreecommitdiff
path: root/script/autobuild.py
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-11-28 17:52:30 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:24 +0100
commit61adb75b9ffacf25637e2b4519316093e61a4a82 (patch)
treebc086bba2dc5e3c30892ecfcba0f7782e1e0db7f /script/autobuild.py
parent34ca15fb042e42773854c093ad9f1e67696c90ac (diff)
downloadsamba-61adb75b9ffacf25637e2b4519316093e61a4a82.tar.gz
CI: Add new (TEMP) pure python3 autobuild jobs for samba-build & samba-nt4
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/autobuild.py')
-rwxr-xr-xscript/autobuild.py39
1 files changed, 39 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index a82706620e0..440e177442d 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -57,6 +57,8 @@ builddirs = {
"samba-purepy3-none-env": ".",
"samba-purepy3-ad-dc-2": ".",
"samba-purepy3-ad-dc": ".",
+ "samba-purepy3": ".",
+ "samba-purepy3-nt4": ".",
"ldb": "lib/ldb",
"tdb": "lib/tdb",
"talloc": "lib/talloc",
@@ -447,6 +449,43 @@ tasks = {
"--include-env=ad_member_idmap_rid "
"--include-env=ad_member_idmap_ad'", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],
+ "samba-purepy3" : [("configure", "PYTHON=python3 ./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
+ ("make", "PYTHON=python3 make -j", "text/plain"),
+ ("test", "PYTHON=python3 make test FAIL_IMMEDIATELY=1 "
+ "TESTS='${PY3_ONLY}"
+ "--exclude-env=none "
+ "--exclude-env=nt4_dc "
+ "--exclude-env=nt4_member "
+ "--exclude-env=ad_dc "
+ "--exclude-env=ad_dc_no_nss "
+ "--exclude-env=fl2003dc "
+ "--exclude-env=fl2008r2dc "
+ "--exclude-env=ad_member "
+ "--exclude-env=ad_member_idmap_rid "
+ "--exclude-env=ad_member_idmap_ad "
+ "--exclude-env=chgdcpass "
+ "--exclude-env=vampire_2000_dc "
+ "--exclude-env=fl2000dc "
+ "--exclude-env=fileserver "
+ "--exclude-env=backupfromdc "
+ "--exclude-env=restoredc "
+ "--exclude-env=renamedc "
+ "--exclude-env=offlinebackupdc "
+ "--exclude-env=labdc "
+ "'",
+ "text/plain"),
+ ("install", "make install", "text/plain"),
+ ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
+ ("clean", "make clean", "text/plain")],
+"samba-purepy3-nt4": [("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
+ ("configure", "PYTHON=python3 ./configure.developer --without-ads --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
+ ("make", "PYTHON=python3 make -j", "text/plain"),
+ ("test", "PYTHON=python3 make test FAIL_IMMEDIATELY=1 "
+ "TESTS='${PY3_ONLY}"
+ "--include-env=nt4_dc --include-env=nt4_member'", "text/plain"),
+ ("install", "PYTHON=python3 make install", "text/plain"),
+ ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"),
+ ("clean", "PYTHON=python3 make clean", "text/plain")],