Skip Menu |

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

Report information
The Basics
Id: 33051
Status: resolved
Priority: 0/
Queue: Test-Harness

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

Bug Information
Severity: Normal
Broken in: 3.08
Fixed in: (no value)



Subject: Test-Harness must not depend on Test::More
I just discovered on a system that has no Test::More: t/compat/env......................Can't locate Test/More.pm in @INC (@INC contains: blib/lib blib/arch /home/src/perl/repoperls/installed-perls/perl/pmqPoCB/perl-5.7.0@9662/lib/5.7.1/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pmqPoCB/perl-5.7.0@9662/lib/5.7.1 /home/src/perl/repoperls/installed-perls/perl/pmqPoCB/perl-5.7.0@9662/lib/site_perl/5.7.1/i686-linux-64int /home/src/perl/repoperls/installed-perls/perl/pmqPoCB/perl-5.7.0@9662/lib/site_perl/5.7.1 /home/src/perl/repoperls/installed-perls/perl/pmqPoCB/perl-5.7.0@9662/lib/site_perl .) at t/compat/env.t line 11. BEGIN failed--compilation aborted at t/compat/env.t line 11. t/compat/env...................... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Please make the test that depends on Test::More a SKIP. T:H runs on far more systems than Test::More and I above that is a prereq to Test::More itself, so I hope you are in agreement with me that this must be a skip. Thanks,
On Sat Feb 09 06:56:19 2008, ANDK wrote: Show quoted text
> Please make the test that depends on Test::More a SKIP. T:H runs on > far > more systems than Test::More and I above that is a prereq to > Test::More > itself, so I hope you are in agreement with me that this must be a > skip.
Yes, I agree. We have our own Test::More in t/lib for precisely this reason but that test wasn't using it. I've fixed the problem for the next release of TH. Now I need to figure out how to write a test to ensure we only ever use our own Test::More... Thanks for the report Andreas.