Subject: | several failing tests |
Hi there!
I've been trying to use your module but, after installing libstree 0.4.2
and getting a successful make from your module, make test fails in
several different places. Below is the output, hope it helps!
CPAN.pm: Going to build G/GR/GRAY/Tree-Suffix-0.21.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Tree::Suffix
cp lib/Tree/Suffix.pm blib/lib/Tree/Suffix.pm
/usr/bin/perl /usr/local/share/perl/5.10.0/ExtUtils/xsubpp -typemap
/usr/share/perl/5.10/ExtUtils/typemap -typemap typemap Suffix.xs >
Suffix.xsc && mv Suffix.xsc Suffix.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g
-DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC
"-I/usr/lib/perl/5.10/CORE" Suffix.c
Running Mkbootstrap for Tree::Suffix ()
chmod 644 Suffix.bs
rm -f blib/arch/auto/Tree/Suffix/Suffix.so
LD_RUN_PATH="/usr/local/lib" cc -shared -O2 -g -L/usr/local/lib
Suffix.o -o blib/arch/auto/Tree/Suffix/Suffix.so \
-lstree \
chmod 755 blib/arch/auto/Tree/Suffix/Suffix.so
cp Suffix.bs blib/arch/auto/Tree/Suffix/Suffix.bs
chmod 644 blib/arch/auto/Tree/Suffix/Suffix.bs
Manifying blib/man3/Tree::Suffix.3pm
GRAY/Tree-Suffix-0.21.tar.gz
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.t ......... ok
t/01_new.t .......... ok
t/02_insert.t ....... ok
t/03_lcs.t .......... 1/2
# Failed test 'lcs'
# at t/03_lcs.t line 8.
# Structures begin differing at:
# $got->[0] = 'stringy'
# $expected->[0] = 'string'
# Failed test 'lcs(min, max)'
# at t/03_lcs.t line 11.
# Structures begin differing at:
# $got->[0] = 'astr'
# $expected->[0] = 'ing'
# Looks like you failed 2 tests of 2.
t/03_lcs.t .......... Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/2 subtests
t/04_lrs.t .......... ok
t/05_clear.t ........ ok
t/06_remove.t ....... 1/5
# Failed test 'remaining nodes'
# at t/06_remove.t line 8.
# got: '4'
# expected: '2'
# Failed test 'strings() in list context'
# at t/06_remove.t line 9.
# Structures begin differing at:
# $got->[1] = '1'
# $expected->[1] = '2'
# Failed test 'undef'
# at t/06_remove.t line 11.
# got: '4'
# expected: '2'
# Failed test 'empty string'
# at t/06_remove.t line 13.
# got: '4'
# expected: '2'
# Looks like you failed 4 tests of 5.
t/06_remove.t ....... Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/5 subtests
t/07_memleak.t ...... ok
t/08_find.t ......... 1/14
# Failed test 'list context'
# at t/08_find.t line 17.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
# Failed test 'list context'
# at t/08_find.t line 18.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
# Failed test 'list context'
# at t/08_find.t line 22.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
# Looks like you failed 3 tests of 14.
t/08_find.t ......... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/14 subtests
t/09_duplicates.t ... 1/13
# Failed test 'remaining strings'
# at t/09_duplicates.t line 9.
# got: '3'
# expected: '1'
# Failed test 'find removed string'
# at t/09_duplicates.t line 10.
# got: '2'
# expected: '0'
# Failed test 'string count'
# at t/09_duplicates.t line 16.
# got: '3'
# expected: '1'
# Looks like you failed 3 tests of 13.
t/09_duplicates.t ... Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/13 subtests
t/10_string.t ....... ok
t/11_memleak.t ...... ok
t/12_index_vs_id.t .. 1/1
# Failed test 'index vs id'
# at t/12_index_vs_id.t line 10.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '1'
# Looks like you failed 1 test of 1.
t/12_index_vs_id.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/03_lcs.t (Wstat: 512 Tests: 2 Failed: 2)
Failed tests: 1-2
Non-zero exit status: 2
t/06_remove.t (Wstat: 1024 Tests: 5 Failed: 4)
Failed tests: 2-5
Non-zero exit status: 4
t/08_find.t (Wstat: 768 Tests: 14 Failed: 3)
Failed tests: 9-11
Non-zero exit status: 3
t/09_duplicates.t (Wstat: 768 Tests: 13 Failed: 3)
Failed tests: 3-4, 8
Non-zero exit status: 3
t/12_index_vs_id.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=13, Tests=61, 4 wallclock secs ( 0.12 usr 0.02 sys + 2.02 cusr
0.28 csys = 2.44 CPU)
Result: FAIL
Failed 5/13 test programs. 13/61 subtests failed.
make: *** [test_dynamic] Error 1
GRAY/Tree-Suffix-0.21.tar.gz
make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports GRAY/Tree-Suffix-0.21.tar.gz
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GRAY/Tree-Suffix-0.21.tar.gz : make_test NO