Skip Menu |

This queue is for tickets about the Test-Compile CPAN distribution.

Report information
The Basics
Id: 46714
Status: resolved
Priority: 0/
Queue: Test-Compile

People
Owner: Nobody in particular
Requestors: XSAWYERX [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.08
Fixed in: (no value)



Subject: pl_file_ok() doesn't report name at all
There is a problem where it doesn't report the name of test in pl_file_ok(). I attached a patch that fixes it. I wanted to also write a short test but I would have to use Test::Output or something, which would add another dependency and that's something for the author to consider, if at all. Sawyer.
Subject: fix_test_name.patch
--- lib/Test/Compile.pm 2008-01-28 18:07:21.000000000 +0200 +++ /usr/local/share/perl/5.8.8/Test/Compile.pm 2009-06-07 23:22:56.000000000 +0300 @@ -95,7 +95,7 @@ $Test->diag($out); return; } else { - $Test->ok(1); + $Test->ok(1, $name); return 1; } }
fixed in v0.09. Thanks for reporting it!