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

selftest:Samba4: add fl2008dc as alias to ad_dc_ntvfs

Using aliases it will be possible to split the large amount
of tests which use ad_dc_ntvfs into multiple autobuild/ci
tasks/jobs later.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2019-02-26 14:01:10 +01:00
parent ec115b9012
commit 62eeab8f6c
2 changed files with 22 additions and 2 deletions

View File

@ -97,6 +97,7 @@ tasks = {
"--exclude-env=ad_dc_ntvfs "
"--exclude-env=ad_dc_no_nss "
"--exclude-env=fl2003dc "
"--exclude-env=fl2008dc "
"--exclude-env=fl2008r2dc "
"--exclude-env=ad_member "
"--exclude-env=ad_member_idmap_rid "
@ -163,8 +164,10 @@ tasks = {
("configure", "./configure.developer --with-selftest-prefix=./bin/ab" + samba_configure_params, "text/plain"),
("make", "make -j", "text/plain"),
("test", "make test FAIL_IMMEDIATELY=1 "
"TESTS='--include-env=ad_dc_ntvfs'",
"text/plain"),
"TESTS='"
"--include-env=ad_dc_ntvfs "
"--include-env=fl2008dc "
"'", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],
# run the backup/restore testenvs separately as they're fairly standalone

View File

@ -2261,9 +2261,26 @@ sub check_env($$)
offlinebackupdc => ["backupfromdc"],
labdc => ["backupfromdc"],
# aliases in order to split autbuild tasks
fl2008dc => ["ad_dc_ntvfs"],
none => [],
);
sub return_alias_env
{
my ($self, $path, $env) = @_;
# just an alias
return $env;
}
sub setup_fl2008dc
{
my ($self, $path, $dep_env) = @_;
return $self->return_alias_env($path, $dep_env)
}
sub setup_s4member
{
my ($self, $path, $dc_vars) = @_;