From fd87c89c643f51dc37540b26e40c47f16152d96f Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 16 Nov 2018 14:59:01 +0000 Subject: 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 Reviewed-by: Andrew Bartlett --- script/autobuild.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'script') 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")], -- cgit v1.2.1