diff options
author | Noel Power <noel.power@suse.com> | 2018-10-16 19:25:26 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-10-23 05:50:29 +0200 |
commit | f8b5dd954460cccc7f482e9988b6f13e84a60e9c (patch) | |
tree | cbcf6a12fb37e511896aa6a654d8d386323fc794 /script/autobuild.py | |
parent | 25b16fa0649579f17789e4f06e40b840d77942aa (diff) | |
download | samba-f8b5dd954460cccc7f482e9988b6f13e84a60e9c.tar.gz |
script: Add new (temporary) autobuild task for none-env tests.
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/autobuild.py')
-rwxr-xr-x | script/autobuild.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py index e53f49e29f2..49f84d243e6 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -55,6 +55,7 @@ builddirs = { "samba-systemkrb5": ".", "samba-nopython": ".", "samba-buildpy3-only": ".", + "samba-purepy3-none-env": ".", "ldb": "lib/ldb", "tdb": "lib/tdb", "talloc": "lib/talloc", @@ -407,9 +408,21 @@ tasks = { ("check-clean-tree", "script/clean-source-tree.sh", "text/plain"), ("clean", "PYTHON='python3' make clean", "text/plain")], + "samba-purepy3-none-env": [ + ("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=none'", + "text/plain")], + # these are useful for debugging autobuild 'pass': [("pass", 'echo passing && /bin/true', "text/plain")], 'fail': [("fail", 'echo failing && /bin/false', "text/plain")] + + } |