Tests running in cpan (and dist) are also allowed to generate noisy TAP.
Nicholas Clark [Sun, 27 Sep 2009 08:56:40 +0000 (09:56 +0100)]
t/TEST

diff --git a/t/TEST b/t/TEST
index 04355f4..19f8fb1 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -589,7 +589,7 @@ EOT
                    else {
                        # module tests are allowed extra output,
                        # because Test::Harness allows it
-                       next if $test =~ /^\W*(ext|lib)\b/;
+                       next if $test =~ /^\W*(cpan|dist|ext|lib)\b/;
                        $failure = "FAILED--unexpected output at test $next";
                        last;
                    }