From: Steve Hay Date: Tue, 25 Apr 2006 16:23:38 +0000 (+0000) Subject: Make Module-Build aware of new Test-Harness output X-Git-Tag: accepted/trunk/20130322.191538~17822 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f29b885a606ebcae8bf384c16eb4affebb332ccc;p=platform%2Fupstream%2Fperl.git Make Module-Build aware of new Test-Harness output See also: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00755.html p4raw-id: //depot/perl@27960 --- diff --git a/lib/Module/Build/t/compat.t b/lib/Module/Build/t/compat.t index 44a136c..64f0aeb 100644 --- a/lib/Module/Build/t/compat.t +++ b/lib/Module/Build/t/compat.t @@ -143,7 +143,7 @@ foreach my $type (@makefile_types) { $output = stdout_of( sub { $ran_ok = $mb->do_system(@make, 'test', 'TEST_VERBOSE=0') } ); ok $ran_ok; $output =~ s/^/# /gm; # Don't confuse our own test output - like $output, qr/(?:# .+basic\.+ok\s+(?:[\d.]+s\s*)?)# All tests/, + like $output, qr/(?:# .+basic\.+ok\s+(?:[\d.]+\s*m?s\s*)?)# All tests/, 'Should be non-verbose'; $mb->delete_filetree($libdir);