1
package ModPerl::TestRun;
4
use warnings FATAL => 'all';
6
use base qw(Apache::TestRunPerl);
8
# some mp2 tests require more than one server instance to be available
9
# without which the server may hang, waiting for the single server
11
use constant MIN_MAXCLIENTS => 2;
14
my $build = Apache::Build->build_config;
19
# timeout in secs (threaded mpms are extremely slow to startup,
20
# due to a slow perl_clone operation)
21
$self->{conf_opts}->{startup_timeout} =
22
$build->mpm_is_threaded() ? 180 : 120;
24
$self->{conf_opts}->{maxclients} ||= MIN_MAXCLIENTS;
26
ModPerl::TestConfig->new($self->{conf_opts});
33
+--------------------------------------------------------+
34
| Please file a bug report: http://perl.apache.org/bugs/ |
35
+--------------------------------------------------------+
39
package ModPerl::TestConfig;
41
use base qw(Apache::TestConfig);
43
# don't inherit LoadModule perl_module from the apache httpd.conf
44
sub should_skip_module {
45
my($self, $name) = @_;
47
$name eq 'mod_perl.c' ? 1 : $self->SUPER::should_skip_module($name);