[Rt-commit] r5530 - in Test-Chimps/trunk: .
zev at bestpractical.com
zev at bestpractical.com
Wed Jul 5 13:29:21 EDT 2006
Author: zev
Date: Wed Jul 5 13:29:19 2006
New Revision: 5530
Modified:
Test-Chimps/trunk/ (props changed)
Test-Chimps/trunk/lib/Test/Chimps/Client/Poller.pm
Log:
r9858 at galvatron: zev | 2006-07-05 13:28:04 -0400
variable scoping fixes
Modified: Test-Chimps/trunk/lib/Test/Chimps/Client/Poller.pm
==============================================================================
--- Test-Chimps/trunk/lib/Test/Chimps/Client/Poller.pm (original)
+++ Test-Chimps/trunk/lib/Test/Chimps/Client/Poller.pm Wed Jul 5 13:29:19 2006
@@ -149,16 +149,17 @@
$self->_checkout_project($config->{$project}, $revision);
+ my $model;
+ my $durataion;
{
local $SIG{ALRM} = sub { die "10 minute timeout exceeded" };
alarm 600;
print "running tests for $project\n";
my $start_time = time;
- my $model;
eval {
$model = Test::TAP::Model::Visual->new_with_tests(glob("t/*.t t/*/t/*.t"));
};
- my $duration = time - $start_time;
+ $duration = time - $start_time;
alarm 0; # cancel alarm
}
More information about the Rt-commit
mailing list