Make Module-Build aware of new Test-Harness output
Steve Hay [Tue, 25 Apr 2006 16:23:38 +0000 (16:23 +0000)]
See also:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00755.html

p4raw-id: //depot/perl@27960

lib/Module/Build/t/compat.t

index 44a136c..64f0aeb 100644 (file)
@@ -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);