Skip Menu |

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

Report information
The Basics
Id: 76848
Status: resolved
Priority: 0/
Queue: Test-Apocalypse

People
Owner: Nobody in particular
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.002
Fixed in: (no value)



Subject: t/000-report-versions-tiny.t does not pass
While running ./Build test, I get: ok 1 - we really didn't test anything, just reporting data 1..1 not ok 2 - done_testing() was already called at /usr/share/perl5/vendor_perl/Test/CheckChanges.pm line 251 # Failed test 'done_testing() was already called at /usr/share/perl5/vendor_perl/Test/CheckChanges.pm line 251' # at /usr/share/perl5/Test/More.pm line 221. # Looks like you planned 1 test but ran 2. This is caused by Test:CheckChanges END block probably (https://rt.cpan.org/Public/Bug/Display.html?id=63914) which calls Test::Builder->done_testing(1). It would be nice if one of you justified the code.
Hello, Thanks for this report! I got another ticket claiming the same problem so I looked into this. The culprit was Test::CheckChanges and I've switched it with Test::CPAN::Changes as a result. Removing the offending module resolves this problem, so I'll release a new version soon :) On Fri Apr 27 08:37:30 2012, ppisar wrote: Show quoted text
> While running ./Build test, I get: > > ok 1 - we really didn't test anything, just reporting data > 1..1 > not ok 2 - done_testing() was already called at > /usr/share/perl5/vendor_perl/Test/CheckChanges.pm line 251 > > # Failed test 'done_testing() was already called at > /usr/share/perl5/vendor_perl/Test/CheckChanges.pm line 251' > # at /usr/share/perl5/Test/More.pm line 221. > # Looks like you planned 1 test but ran 2. > > This is caused by Test:CheckChanges END block probably > (https://rt.cpan.org/Public/Bug/Display.html?id=63914) which calls > Test::Builder->done_testing(1). > > It would be nice if one of you justified the code.
-- ~Apocalypse