summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2018-11-16 14:59:01 +0000
committerNoel Power <npower@samba.org>2018-12-10 10:38:22 +0100
commitfd87c89c643f51dc37540b26e40c47f16152d96f (patch)
treee3c2a02dbaff6400964adc12c5980ac8e41a6e5b /script
parent81043cdf0e90b77a104edddb388fb4f94eb81d28 (diff)
downloadsamba-fd87c89c643f51dc37540b26e40c47f16152d96f.tar.gz
script: Add new (temporary) pure python3 ad-dc test
Ideally we want all the tests to run under python3 by default (no special task for this) and then convert the existing '-py3' tasks to run the python tests with python3. However at the moment the convertion process is not ready to do this, for a while we need to run separate autobuild tasks for this. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 9bd48523dbd..a82706620e0 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -56,6 +56,7 @@ builddirs = {
"samba-buildpy3-only": ".",
"samba-purepy3-none-env": ".",
"samba-purepy3-ad-dc-2": ".",
+ "samba-purepy3-ad-dc": ".",
"ldb": "lib/ldb",
"tdb": "lib/tdb",
"talloc": "lib/talloc",
@@ -434,6 +435,20 @@ tasks = {
"'",
"text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],
+ "samba-purepy3-ad-dc": [("random-sleep", "script/random-sleep.sh 60 600", "text/plain"),
+ ("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}"
+ "--include-env=ad_dc "
+ "--include-env=fl2003dc "
+ "--include-env=fl2008r2dc "
+ "--include-env=ad_member "
+ "--include-env=ad_member_idmap_rid "
+ "--include-env=ad_member_idmap_ad'", "text/plain"),
+ ("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],
+
+
# these are useful for debugging autobuild
'pass': [("pass", 'echo passing && /bin/true', "text/plain")],