Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 13019
Status: resolved
Priority: 0/
Queue: CPANPLUS

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

Bug Information
Severity: Important
Broken in: 0.053
Fixed in: (no value)



Subject: relies upon Test::Harness features not found in earlier supported perl versions
CPANPLUS 0.053 uses no_plan tests without requiring a version of Test::Harness that supports them. Perl 5.6.1 includes Test::Harness 1.1604 which does not support a trailing test plan line. CPANPLUS should either include a dependency on a version of Test::Harness that supports no_plan tests, or add plans to all tests Note that Test::More's documentation recommends against no_plan, but it's your module. I've attached a script run of attempting to build/test CPANPLUS 0.053 under perl 5.6.1. These tests were done on Debian stable.

Message body is not shown because it is too large.

[guest - Mon May 30 07:00:54 2005]: Show quoted text
> CPANPLUS 0.053 uses no_plan tests without requiring a version of > Test::Harness that supports them.
Thanks, patch 12058 addresses this issue: * TonyC reports: relies upon Test::Harness features not found in earlier supported perl versions (#13019) * This patch adds a version of T::H that does supports the 'no_plan' feature of Test::More * We can't automatically do 'the right thing' as 'make test' invokes 'test_harness' which loads T::H before we can even interfere * Add a msg about too low version to the Makefile.PL instead and fall back to basic tests * Make sure the basic test uses a plan