Subject: | Getopt-LL Failure |
Module is broken : regex.t and help.t both failing as shown below.
t/00.load.t ................. ok
t/aliases.t ................. ok
t/dllist-node.t ............. ok
t/dllist.t .................. ok
t/gnu.t ..................... ok
t/help.t ....................
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
t/missing.t ................. ok
t/non-gnu.t ................. ok
t/nonexisting_rule_type.t ... ok
t/opt_.t .................... ok
t/peek.t .................... ok
t/regex.t ...................
Dubious, test returned 6 (wstat 1536, 0x600)
Failed 6/9 subtests
t/required.t ................ ok
t/rules.t ................... ok
t/short-simple-w-options.t .. ok
t/short-simple-wo-rules.t ... ok
t/short-simple.t ............ ok
t/short.t ................... ok
t/simple.t .................. ok
t/simpleExporter.t .......... ok
t/slurp.t ................... ok
t/type-check.t .............. ok
Test Summary Report
-------------------
t/help.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/regex.t (Wstat: 1536 Tests: 9 Failed: 6)
Failed tests: 1, 3-7
Non-zero exit status: 6
Files=22, Tests=354, 6 wallclock secs ( 0.07 usr 0.60 sys + 0.79 cusr 2.65 csys = 4.11 CPU)
Result: FAIL
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=linux, osvers=3.12.6-200.fc19.i686.pae, archname=i686-linux-thread-multi
uname='linux gazza.homeip.net 3.12.6-200.fc19.i686.pae #1 smp mon dec 23 16:58:40 utc 2013 i686 i686 i386 gnulinux '
config_args='-de -Dprefix=/home/pete/perl5/perlbrew/perls/18.2t -Dusethreads -Dman1dir=none -Dman3dir=none -Aeval:scriptdir=/home/pete/perl5/perlbrew/perls/18.2t/bin'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.8.2 20131212 (Red Hat 4.8.2-7)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.17.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.17'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_PERLIO
USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at Jan 12 2014 21:00:53
regex.t failure detail:
# Failed test 'die on regex mismatch'
# at t/regex.t line 37.
# 'Argument --bottom [<no-value>] does not match /(?^msx:\A\w+\z/ at lib/Getopt/LL/DLList.pm line 71.
# '
# doesn't match '(?^:Argument\ \-\-bottom\ \[\<no\-value\>\]\ does\ not\ match\ \/\\A\\w\+\\z\/msx\-i)'
# Failed test 'die on regex mismatch'
# at t/regex.t line 48.
# 'Argument --head [bonjour] does not match /(?^msix:(hello|goodbye)/ at lib/Getopt/LL/DLList.pm line 71.
# '
# doesn't match '(?^:Argument\ \-\-head\ \[bonjour\]\ does\ not\ match\ \/\(hello\|goodbye\)\/msix)'
# Failed test 'die on regex mismatch'
# at t/regex.t line 55.
# 'Argument --bottom [x!x] does not match /(?^msx:\A\w+\z/ at lib/Getopt/LL/DLList.pm line 71.
# '
# doesn't match '(?^:Argument\ \-\-bottom\ \[x\!x\]\ does\ not\ match\ \/\\A\\w\+\\z\/msx\-i)'
# Failed test '_regexp_as_text(qr/((hello))/xms)'
# at t/regex.t line 60.
# got: '/(?^msx:((hello))/'
# expected: '/((hello))/msx-i'
# Failed test '_regexp_as_text(qr/(?:hello|olleh|leoh)/xms)'
# at t/regex.t line 62.
# got: '/(?^msx:(?:hello|olleh|leoh)/'
# expected: '/(?:hello|olleh|leoh)/msx-i'
# Failed test at t/regex.t line 72.
# got: '/(?^msix:
# \A # starts with...
# - # single dash.
# (?!-) # with no dash after that.
# .
# /'
# expected: '/
# \A # starts with...
# - # single dash.
# (?!-) # with no dash after that.
# .
# /msix'
# Looks like you failed 6 tests of 9.
t/regex.t ...................
and
help.t detail:
# Failed test 'show_usage()'
# at t/help.t line 71.
# got: 'Usage: help.t [-foo <n>|--foobar|-bar <n>|--help]'
# expected: 'Usage: help.t [-foo <n>|-bar <n>|--foobar|--help]'
# Failed test 'show_usage() with options->program_name'
# at t/help.t line 81.
# got: 'Usage: customProgramName [-foo <n>|--foobar|-bar <n>|--help]'
# expected: 'Usage: customProgramName [-foo <n>|-bar <n>|--foobar|--help]'
# Looks like you failed 2 tests of 7.
t/help.t ....................
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/7 subtests
--
Regards,
Pete Armstrong
pete.a64@gmail.com