selftest:Samba4: add ad_dc_backup alias to ad_dc
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Feb 2019 13:03:29 +0000 (14:03 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Feb 2019 10:16:10 +0000 (10:16 +0000)
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>
script/autobuild.py
selftest/target/Samba4.pm

index d9c7ab1..0d49891 100755 (executable)
@@ -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 "
index 313e270..8b62c5e 100755 (executable)
@@ -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) = @_;