Skip to content

Commit

Permalink
selftest:Samba4: add ad_dc_backup alias to ad_dc
Browse files Browse the repository at this point in the history
This will allow us to run really most tests in an isolated
autobuild/ci task later.

Signed-off-by: Stefan Metzmacher <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
metze-samba committed Feb 27, 2019
1 parent 780ccea commit 13fe139
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/autobuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"--exclude-env=nt4_dc "
"--exclude-env=nt4_member "
"--exclude-env=ad_dc "
"--exclude-env=ad_dc_backup "
"--exclude-env=ad_dc_ntvfs "
"--exclude-env=ad_dc_default "
"--exclude-env=ad_dc_slowtests "
Expand Down Expand Up @@ -140,6 +141,7 @@
("make", "make -j", "text/plain"),
("test", "make test FAIL_IMMEDIATELY=1 "
"TESTS='--include-env=ad_dc "
"--include-env=ad_dc_backup "
"--include-env=fl2003dc "
"--include-env=fl2008r2dc "
"--include-env=ad_member "
Expand Down
7 changes: 7 additions & 0 deletions selftest/target/Samba4.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2265,6 +2265,7 @@ sub check_env($$)
fl2008dc => ["ad_dc_ntvfs"],
ad_dc_default => ["ad_dc_ntvfs"],
ad_dc_slowtests => ["ad_dc_ntvfs"],
ad_dc_backup => ["ad_dc"],

none => [],
);
Expand Down Expand Up @@ -2295,6 +2296,12 @@ sub setup_ad_dc_slowtests
return $self->return_alias_env($path, $dep_env)
}

sub setup_ad_dc_backup
{
my ($self, $path, $dep_env) = @_;
return $self->return_alias_env($path, $dep_env)
}

sub setup_s4member
{
my ($self, $path, $dc_vars) = @_;
Expand Down

0 comments on commit 13fe139

Please sign in to comment.