Author: kwilliams
Date: Thu Jun 12 07:59:11 2008
New Revision: 11416
Modified:
Module-Build/trunk/Changes
Module-Build/trunk/t/compat.t
Log:
Allow trailing .t to be present in non-verbose test output
Modified: Module-Build/trunk/Changes
==============================================================================
--- Module-Build/trunk/Changes (original)
+++ Module-Build/trunk/Changes Thu Jun 12 07:59:11 2008
@@ -1,5 +1,10 @@
Revision history for Perl extension Module::Build.
+ - Some versions of Test::Harness (or something) seem to not be
+ stripping the ".t" suffix when outputting test reports, which was
+ causing one of our tests in t/compat.t to fail. Fixed. [Spotted by
+ a smoke tester]
+
- Most Unix platforms seem to allow hyphens in usernames, so we honor
this in our de-tilde-fying methods now. [Spotted by s-murata]
Modified: Module-Build/trunk/t/compat.t
==============================================================================
--- Module-Build/trunk/t/compat.t (original)
+++ Module-Build/trunk/t/compat.t Thu Jun 12 07:59:11 2008
@@ -211,7 +211,7 @@
ok $ran_ok, "make test without verbose ran ok";
$output =~ s/^/# /gm; # Don't confuse our own test output
like $output,
- qr/# .+basic[.\s#]+ok[.\s#]+All tests successful/,
+ qr/# .+basic(\.t)?[.\s#]+ok[.\s#]+All tests successful/,
'Should be non-verbose';
(my $libdir2 = $libdir) =~ s/libdir/lbiidr/;