Skip Menu |

This queue is for tickets about the Net-Server CPAN distribution.

Report information
The Basics
Id: 77694
Status: resolved
Priority: 0/
Queue: Net-Server

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

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



Subject: tests fail due to incorrect test skip counts
$ perl Makefile.PL ... $ make ... $ make TEST_VERBOSE=1 test ... # number of tests ran 49 did not match number of specified tests 51 t/Port_Configuration.t .... 1..51 ... ok 39 # skip Cannot load Socket6 libraries - skipping IPv6 proto tests (...) Failed 2/51 subtests In my case (Socket6 libraries not loaded), 11 tests are skipped by instruction although 13 tests are skipped in reality. The same problem would occur if IO::Socket::UNIX wasn't installed, as 7 tests would be skipped by instruction although 8 would not run.
Corrected in 2.004. Thanks for the report On Thu Jun 07 20:13:43 2012, LXP wrote: Show quoted text
> $ perl Makefile.PL > ... > $ make > ... > $ make TEST_VERBOSE=1 test > ... > # number of tests ran 49 did not match number of specified tests 51 > t/Port_Configuration.t .... > 1..51 > ... > ok 39 # skip Cannot load Socket6 libraries - skipping IPv6 proto tests
(...) Show quoted text
> Failed 2/51 subtests > > In my case (Socket6 libraries not loaded), 11 tests are skipped by > instruction although 13 tests are skipped in reality. > > The same problem would occur if IO::Socket::UNIX wasn't installed, as 7 > tests would be skipped by instruction although 8 would not run.
forgot to mark as resolved