From: Noel Power Date: Thu, 25 Oct 2018 16:50:18 +0000 (+0100) Subject: script: Add new (temporary) pure python3 ad-dc-2 test X-Git-Tag: tdb-1.3.17~762 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca3b3ebd8ac31e1b3a33b57d706740ed0edf110;p=thirdparty%2Fsamba.git script: Add new (temporary) pure python3 ad-dc-2 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 --- diff --git a/script/autobuild.py b/script/autobuild.py index 989c69cfec9..e025a2c1920 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -55,6 +55,7 @@ builddirs = { "samba-nopython": ".", "samba-buildpy3-only": ".", "samba-purepy3-none-env": ".", + "samba-purepy3-ad-dc-2": ".", "ldb": "lib/ldb", "tdb": "lib/tdb", "talloc": "lib/talloc", @@ -416,6 +417,23 @@ tasks = { "TESTS='${PY3_ONLY}" "--include-env=none'", "text/plain")], + "samba-purepy3-ad-dc-2": [("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=chgdcpass " + "--include-env=vampire_2000_dc " + "--include-env=fl2000dc " + "--include-env=ad_dc_no_nss " + "--include-env=backupfromdc " + "--include-env=restoredc " + "--include-env=renamedc " + "--include-env=offlinebackupdc " + "--include-env=labdc " + "'", + "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")],