diff options
author | George Greer <perl@greerga.m-l.org> | 2010-07-02 18:50:12 -0400 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2010-07-03 08:53:23 +0200 |
commit | e07ce2e4e82e3054dc912dbe99348744647bf30b (patch) | |
tree | 443ed0560cfd2d551fb3c751b77ea6f85d60a099 /t/test.pl | |
parent | 9e2bec029fb0c747ff8d682f110159537237714b (diff) | |
download | perl-e07ce2e4e82e3054dc912dbe99348744647bf30b.tar.gz |
Adjust 'make test.valgrind' to account for cpan/dist/ext separation.
Signed-off-by: H.Merijn Brand <h.m.brand@xs4all.nl>
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -814,6 +814,9 @@ sub watchdog ($) my $timeout = shift; my $timeout_msg = 'Test process timed out - terminating'; + # Valgrind slows perl way down so give it more time before dying. + $timeout *= 10 if $ENV{PERL_VALGRIND}; + my $pid_to_kill = $$; # PID for this process # Don't use a watchdog process if 'threads' is loaded - |