1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

gitlab-ci: Run 'samba' tests also with MIT Kerberos

This runs the tests of the ktest environment.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Mon Nov  4 14:19:17 UTC 2019 on sn-devel-184
This commit is contained in:
Andreas Schneider 2019-11-04 07:47:15 +01:00 committed by Andreas Schneider
parent 176d0f0364
commit 831796b2d7
2 changed files with 55 additions and 0 deletions

View File

@ -110,6 +110,9 @@ others:
samba:
extends: .shared_template
samba-mitkrb5:
extends: .shared_template
samba-none-env:
extends: .shared_template

View File

@ -122,6 +122,7 @@ cleanup_list = []
builddirs = {
"ctdb": "ctdb",
"samba": ".",
"samba-mitkrb5": ".",
"samba-nt4": ".",
"samba-fileserver": ".",
"samba-admem": ".",
@ -267,6 +268,57 @@ tasks = {
("clean", "make clean"),
],
# We have 'test' before 'install' because, 'test' should work without 'install (runs all the other envs)'
"samba-mitkrb5": [
("random-sleep", random_sleep(300, 900)),
("configure", "./configure.developer --with-selftest-prefix=./bin/ab --with-system-mitkrb5 --with-experimental-mit-ad-dc" + samba_configure_params),
("make", "make -j"),
("test", make_test(exclude_envs=[
"none",
"nt4_dc",
"nt4_dc_schannel",
"nt4_member",
"ad_dc",
"ad_dc_backup",
"ad_dc_ntvfs",
"ad_dc_default",
"ad_dc_slowtests",
"ad_dc_no_nss",
"ad_dc_no_ntlm",
"fl2003dc",
"fl2008dc",
"fl2008r2dc",
"ad_member",
"ad_member_idmap_rid",
"ad_member_idmap_ad",
"ad_member_rfc2307",
"chgdcpass",
"vampire_2000_dc",
"fl2000dc",
"fileserver",
"maptoguest",
"simpleserver",
"backupfromdc",
"restoredc",
"renamedc",
"offlinebackupdc",
"labdc",
"preforkrestartdc",
"proclimitdc",
"promoted_dc",
"vampire_dc",
"rodc",
"ad_dc_default",
"ad_dc_slowtests",
"schema_pair_dc",
"schema_dc",
])),
("lcov", LCOV_CMD),
("install", "make install"),
("check-clean-tree", "script/clean-source-tree.sh"),
("clean", "make clean"),
],
"samba-nt4": [
("random-sleep", random_sleep(300, 900)),
("configure", "./configure.developer --without-ads --with-selftest-prefix=./bin/ab" + samba_configure_params),