Skip Menu |
 

This queue is for tickets about the Devel-Leak-Object CPAN distribution.

Report information
The Basics
Id: 131249
Status: resolved
Priority: 0/
Queue: Devel-Leak-Object

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

Bug Information
Severity: (no value)
Broken in: 1.01
Fixed in: 1.02



Subject: t/002_inherit.t fails in the presence of the "D" module
Download (untitled) / with headers
text/plain 828b
If the CPAN module "D" is installed (see https://metacpan.org/pod/D ) then the test suite fails: ... # Failed test 'Inherited DESTROY method' # at t/002_inherit.t line 61. # got: '' # expected: 'E::DESTROY called for foo' Can't locate object method "new" via package "D" at t/002_inherit.t line 64. Tracked objects by class: # Looks like your test exited with 255 just after 4. t/002_inherit.t ................ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 15/18 subtests ... Looking at the test code it seems that the test package "D" needs now a similar workaround as already the test package "B" (which became "Blah"). However, to be on the safe side, it's probably better to use a safe namespace prefix for the test packages, best one you "own", for example Devel::Leak::Object::Test:: or so.
Download (untitled) / with headers
text/plain 162b
On 2019-12-26 00:41:17, SREZIC wrote: Show quoted text
> If the CPAN module "D" is installed (see https://metacpan.org/pod/D ) > then the test suite fails:
Thanks, fixed in 1.02.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.