1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

selftest:Samba4: add ad_dc_default alias to ad_dc_ntvfs

This will allow us to run really most tests in an isolated
autobuild/ci task later.

This will apply to tests, which may not rely on the ntvfs backend, so
the ad_dc_default alias can point to another environment in future.

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:03:29 +01:00
parent 3385b33cec
commit c217a15a2c
2 changed files with 9 additions and 0 deletions

View File

@ -95,6 +95,7 @@ tasks = {
"--exclude-env=nt4_member "
"--exclude-env=ad_dc "
"--exclude-env=ad_dc_ntvfs "
"--exclude-env=ad_dc_default "
"--exclude-env=ad_dc_slowtests "
"--exclude-env=ad_dc_no_nss "
"--exclude-env=fl2003dc "
@ -168,6 +169,7 @@ tasks = {
"TESTS='"
"--include-env=ad_dc_ntvfs "
"--include-env=fl2008dc "
"--include-env=ad_dc_default "
"--include-env=ad_dc_slowtests "
"'", "text/plain"),
("check-clean-tree", "script/clean-source-tree.sh", "text/plain")],

View File

@ -2263,6 +2263,7 @@ sub check_env($$)
# aliases in order to split autbuild tasks
fl2008dc => ["ad_dc_ntvfs"],
ad_dc_default => ["ad_dc_ntvfs"],
ad_dc_slowtests => ["ad_dc_ntvfs"],
none => [],
@ -2282,6 +2283,12 @@ sub setup_fl2008dc
return $self->return_alias_env($path, $dep_env)
}
sub setup_ad_dc_default
{
my ($self, $path, $dep_env) = @_;
return $self->return_alias_env($path, $dep_env)
}
sub setup_ad_dc_slowtests
{
my ($self, $path, $dep_env) = @_;