summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-02-26 14:03:29 +0100
committerStefan Metzmacher <metze@samba.org>2019-02-27 10:16:10 +0000
commit13fe139fb2661abf36701e35f2aca3a9a5df17ef (patch)
treec4c288d3ab7a5a849d42c29c11f9c4d8a4896132
parent780cceaed9aa130ca9cba199a4b98fa1c8bbc77a (diff)
downloadsamba-13fe139fb2661abf36701e35f2aca3a9a5df17ef.tar.gz
selftest:Samba4: add ad_dc_backup alias to ad_dc
This will allow us to run really most tests in an isolated autobuild/ci task later. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
-rwxr-xr-xscript/autobuild.py2
-rwxr-xr-xselftest/target/Samba4.pm7
2 files changed, 9 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index d9c7ab16a40..0d49891c39c 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -94,6 +94,7 @@ tasks = {
"--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 "
@@ -140,6 +141,7 @@ tasks = {
("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 "
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 313e2705e1c..8b62c5e9c11 100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -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 => [],
);
@@ -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) = @_;