Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Getopt-Long-Descriptive CPAN distribution.

Report information
The Basics
Id: 27373
Status: rejected
Priority: 0/
Queue: Getopt-Long-Descriptive

People
Owner: Nobody in particular
Requestors: bryant.eadon [...] credit-suisse.com
Cc:
AdminCc:

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



Subject: Error with Test for Getopt::Long::Descriptive
Date: Fri, 1 Jun 2007 19:32:40 +0100
To: "'bug-Getopt-Long-Descriptive [...] rt.cpan.org'" <bug-Getopt-Long-Descriptive [...] rt.cpan.org>
From: "Eadon, Bryant" <bryant.eadon [...] credit-suisse.com>
It looks like it's only failing a single test -- line 37 on descriptive.t .. but I can't decipher the problem, can you assist ? Is it somehow missing the '-f' option from line 82 ? Should the 'long options' on line 82 be 'long\ options' instead ? CPAN.pm: Going to build H/HD/HDP/Getopt-Long-Descriptive-0.06.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Getopt::Long::Descriptive cp lib/Getopt/Long/Descriptive.pm blib/lib/Getopt/Long/Descriptive.pm Manifying blib/man3/Getopt::Long::Descriptive.3pm /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-load.........ok 1/1# Testing Getopt::Long::Descriptive 0.06, Perl 5.008, /usr/bin/perl t/00-load.........ok t/descriptive.....ok 1/0Unknown option: no-bar # Failed test (t/descriptive.t at line 37) # got: 'test [long options...] # --foo a foo option # --bar a negatable bar option # --baz a negatable baz option' # expected: '' t/descriptive.....NOK 10# Looks like you failed 1 tests of 12. t/descriptive.....dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 10 Failed 1/12 tests, 91.67% okay t/pod-coverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.............skipped all skipped: Test::Pod 1.14 required for testing POD Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/descriptive.t 1 256 12 1 8.33% 10 2 tests skipped. Failed 1/4 test scripts, 75.00% okay. 1/13 subtests failed, 92.31% okay. make: *** [test_dynamic] Error 29 /usr/bin/make test -- NOT OK perl -v : This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) an older kernel... uname -na => Linux somehostname 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 -Bryant ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ==============================================================================
On Fri Jun 01 14:34:26 2007, bryant.eadon@credit-suisse.com wrote: Show quoted text
> It looks like it's only failing a single test -- line 37 on > descriptive.t .. but I can't decipher the problem, can you assist ? > Is it somehow missing the '-f' option from line 82 ? Should the > 'long options' on line 82 be 'long\ options' instead ?
Show quoted text
> t/descriptive.....ok 1/0Unknown option: no-bar > # Failed test (t/descriptive.t at line 37) > # got: 'test [long options...] > # --foo a foo option > # --bar a negatable bar option > # --baz a negatable baz option' > # expected: '' > t/descriptive.....NOK 10# Looks like you failed 1 tests of 12. > t/descriptive.....dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 10 > Failed 1/12 tests, 91.67% okay
I can't reproduce this under 5.6 or 5.8. What versions of the dependencies are you using, and what version of Getopt::Long are you using? If you change the test to ['--bar', '--no-baz'], does it pass?
WORKSFORME