Subject: | Tests failure on install |
I tried to install Tree::Suffix and got a lot of test errors (see
below). I have libstree-0.4.3 installed in /usr/local on an 32 bit
Ubuntu Feisty system.
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
t/01_new.............ok
t/02_insert..........ok
t/03_lcs.............
# Failed test 'lcs'
# at t/03_lcs.t line 7.
# Structures begin differing at:
# $got->[0] = 'stringy'
# $expected->[0] = 'string'
t/03_lcs.............NOK 1/2
# Failed test 'lcs(min, max)'
# at t/03_lcs.t line 10.
# Structures begin differing at:
# $got->[0] = 'astr'
# $expected->[0] = 'ing'
t/03_lcs.............NOK 2/2# Looks like you failed 2 tests of 2.
t/03_lcs.............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/04_lrs.............ok
t/05_clear...........ok
t/06_remove..........NOK 2/5
# Failed test 'remaining nodes'
# at t/06_remove.t line 7.
# got: '4'
# expected: '2'
t/06_remove..........NOK 3/5
# Failed test 'strings() in list context'
# at t/06_remove.t line 8.
# Structures begin differing at:
# $got->[1] = '1'
# $expected->[1] = '2'
# Failed test 'undef'
# at t/06_remove.t line 10.
# got: '4'
# expected: '2'
# Failed test 'empty string'
# at t/06_remove.t line 12.
# got: '4'
# expected: '2'
# Looks like you failed 4 tests of 5.
t/06_remove..........dubious
Test returned status 4 (wstat 1024, 0x400)
DIED. FAILED tests 2-5
Failed 4/5 tests, 20.00% okay
t/07_memleak.........#
# Memory: 2980 -> 4812
# Verify that you have libstree >= 0.4.2
t/07_memleak.........NOK 1/2
# Failed test 'insert()'
# at t/07_memleak.t line 28.
#
# Memory: 4888 -> 6672
# Verify that you have libstree >= 0.4.2
t/07_memleak.........NOK 2/2
# Failed test 'new()/insert()'
# at t/07_memleak.t line 46.
# Looks like you failed 2 tests of 2.
t/07_memleak.........dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-2
Failed 2/2 tests, 0.00% okay
t/08_find............ok 1/12
# Failed test 'list context'
# at t/08_find.t line 16.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
t/08_find............NOK 9/12
# Failed test 'list context'
# at t/08_find.t line 17.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
t/08_find............NOK 10/12
# Failed test 'list context'
# at t/08_find.t line 21.
# Structures begin differing at:
# $got->[0][0] = '-1'
# $expected->[0][0] = '0'
t/08_find............NOK 11/12# Looks like you failed 3 tests of 12.
t/08_find............dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 9-11
Failed 3/12 tests, 75.00% okay
t/09_duplicates......NOK 3/13
# Failed test 'remaining strings'
# at t/09_duplicates.t line 8.
# got: '3'
# expected: '1'
t/09_duplicates......NOK 4/13
# Failed test 'find removed string'
# at t/09_duplicates.t line 9.
# got: '2'
# expected: '0'
t/09_duplicates......NOK 8/13
# Failed test 'string count'
# at t/09_duplicates.t line 15.
# got: '3'
# expected: '1'
# Looks like you failed 3 tests of 13.
t/09_duplicates......dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 3-4, 8
Failed 3/13 tests, 76.92% okay
t/10_pod.............ok
t/11_pod_coverage....ok
t/12_string..........ok
t/13_memleak.........ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/03_lcs.t 2 512 2 2 1-2
t/06_remove.t 4 1024 5 4 2-5
t/07_memleak.t 2 512 2 2 1-2
t/08_find.t 3 768 12 3 9-11
t/09_duplicates.t 3 768 13 3 3-4 8
Failed 5/14 test scripts. 14/60 subtests failed.
Files=14, Tests=60, 2 wallclock secs ( 1.01 cusr + 0.07 csys = 1.08 CPU)
Failed 5/14 test programs. 14/60 subtests failed.
make: *** [test_dynamic] Error 255
GRAY/Tree-Suffix-0.16.tar.gz
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
Failed during this command:
GRAY/Tree-Suffix-0.16.tar.gz : make_test NO