mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
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>
This commit is contained in:
parent
81043cdf0e
commit
fd87c89c64
@ -56,6 +56,7 @@ builddirs = {
|
|||||||
"samba-buildpy3-only": ".",
|
"samba-buildpy3-only": ".",
|
||||||
"samba-purepy3-none-env": ".",
|
"samba-purepy3-none-env": ".",
|
||||||
"samba-purepy3-ad-dc-2": ".",
|
"samba-purepy3-ad-dc-2": ".",
|
||||||
|
"samba-purepy3-ad-dc": ".",
|
||||||
"ldb": "lib/ldb",
|
"ldb": "lib/ldb",
|
||||||
"tdb": "lib/tdb",
|
"tdb": "lib/tdb",
|
||||||
"talloc": "lib/talloc",
|
"talloc": "lib/talloc",
|
||||||
@ -434,6 +435,20 @@ tasks = {
|
|||||||
"'",
|
"'",
|
||||||
"text/plain"),
|
"text/plain"),
|
||||||
("check-clean-tree", "script/clean-source-tree.sh", "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
|
# these are useful for debugging autobuild
|
||||||
'pass': [("pass", 'echo passing && /bin/true', "text/plain")],
|
'pass': [("pass", 'echo passing && /bin/true', "text/plain")],
|
||||||
|
Loading…
Reference in New Issue
Block a user