diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-01-17 10:32:41 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-01-17 10:32:41 +1100 |
commit | c10992c065b64e3985c8b14d3a4c9ee5f09790c6 (patch) | |
tree | 9e6872f77d7800042c315ff4a09038ce3bb76655 /source4/selftest/selftest.pl | |
parent | d5fd15005c0cad9e9018e81ab5c30b87cb2f605a (diff) | |
parent | 797e8db3ba1e0038db553af6f564e221479ac381 (diff) | |
download | samba-c10992c065b64e3985c8b14d3a4c9ee5f09790c6.tar.gz samba-c10992c065b64e3985c8b14d3a4c9ee5f09790c6.tar.bz2 samba-c10992c065b64e3985c8b14d3a4c9ee5f09790c6.zip |
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 11660b0737107138b53c3a08e8de30ee44607eae)
Diffstat (limited to 'source4/selftest/selftest.pl')
-rwxr-xr-x | source4/selftest/selftest.pl | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl index 96409558b1..004332a1fc 100755 --- a/source4/selftest/selftest.pl +++ b/source4/selftest/selftest.pl @@ -67,7 +67,7 @@ these tests will be counted as successes, successes will be counted as failures. The format for the file is, one entry per line: -TESTSUITE-NAME/TEST-NAME +TESTSUITE-NAME.TEST-NAME The reason for a test can also be specified, by adding a hash sign (#) and the reason after the test name. @@ -130,9 +130,6 @@ use POSIX; use Cwd qw(abs_path); use lib "$RealBin"; use Subunit qw(parse_results); -use env::Samba3; -use env::Samba4; -use env::Windows; use SocketWrapper; my $opt_help = 0; @@ -429,17 +426,20 @@ my $testenv_default = "none"; if ($opt_target eq "samba4") { $testenv_default = "member"; + require target::Samba4; $target = new Samba4($opt_bindir or "$srcdir/bin", $ldap, "$srcdir/setup"); } elsif ($opt_target eq "samba3") { if ($opt_socket_wrapper and `$opt_bindir/smbd -b | grep SOCKET_WRAPPER` eq "") { die("You must include --enable-socket-wrapper when compiling Samba in order to execute 'make test'. Exiting...."); } $testenv_default = "dc"; + require target::Samba3; $target = new Samba3($opt_bindir); } elsif ($opt_target eq "win") { die("Windows tests will not run with socket wrapper enabled.") if ($opt_socket_wrapper); $testenv_default = "dc"; + require target::Windows; $target = new Windows(); } @@ -741,7 +741,6 @@ sub teardown_env($) delete $running_envs{$envname}; } - if ($opt_no_lazy_setup) { setup_env($_) foreach (keys %required_envs); } |