[Cpan2rpm-general] Test::Simple fails to build
Brought to you by:
ekkis
|
From: Jeff F. <jef...@gm...> - 2006-01-25 14:10:16
|
Hi, I am trying to build Test::Simple with cpan2rpm but it fails some
of the tests.
Below is the relevant part of the output, it appears to be a regex problem.
If I cd to the build dir and run perl Makefile.pl, make, make test, it
builds ok.
Running Fedora 4, tried versions 27, 28 * 29 of cpan2rpm.
t/tbt_01basic.............NOK 6
# Failed test 'testing failing'
# in t/tbt_01basic.t at line 32.
# STDERR is:
# # Failed test 'should fail'
# # in t/tbt_01basic.t at line 31.
# # got: 'foo'
# # expected: 'bar'
#
# not:
# (?-xism:#\s+Failed\ test.*?\n?.*?t\/tbt_01basic\.t at line 28.*\n?)
# # got: 'foo'
#
# # expected: 'bar'
#
# as expected
t/tbt_01basic.............NOK 9
# Failed test 'testing failing with todo'
# in t/tbt_01basic.t at line 57.
# STDERR is:
# # Failed (TODO) test 'name'
# # in t/tbt_01basic.t at line 55.
#
# not:
# (?-xism:#\s+Failed\ \(TODO\)\ test.*?\n?.*?t\/tbt_01basic\.t at line 52.*=
\n?)
# as expected
t/tbt_01basic.............FAILED tests 6, 9
Failed 2/9 tests, 77.78% okay
t/tbt_02fhrestore.........ok
t/tbt_03die...............ok
t/tbt_04line_num..........NOK 1
# Failed test 'normal line num'
# in t/tbt_04line_num.t at line 9.
# got: '9'
# expected: '6'
t/tbt_04line_num..........NOK 2
# Failed test 'line number minus one'
# in t/tbt_04line_num.t at line 10.
# got: '9'
# expected: '6'
t/tbt_04line_num..........NOK 3
# Failed test 'line number plus two'
# in t/tbt_04line_num.t at line 11.
# got: '13'
# expected: '10'
# Looks like you failed 3 tests of 3.
t/tbt_04line_num..........dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
Thanks, Jeff
|