Subject: | Tests fail with "unexpected trace output" |
Some of the tests fail:
$ perl -v
This is perl 5, version 14, subversion 4 (v5.14.4) built for x86_64-linux
$ cd /tmp/.cpan/build/UML-Sequence-0.08
$ prove -Ilib -v t/02perl.t
t/02perl.t ..
1..3
ok 1 - use UML::Sequence::PerlSeq;
not ok 2 - perl CallSeq trace
# Failed test 'perl CallSeq trace'
# at t/02perl.t line 16.
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = ' DiePair::new'
# unexpected trace output
#
ok 3 - method list
# Looks like you failed 1 test of 3.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/3 subtests
Test Summary Report
-------------------
t/02perl.t (Wstat: 256 Tests: 3 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=1, Tests=3, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.01 cusr 0.00 csys = 0.04 CPU)
Result: FAIL
If I install the module regardless of test failures, I get the following error when trying to use it:
$ genericseq.pl UML::Sequence::PerlSeq my.methods my_script.pl > my_out.xml
Use of uninitialized value $class in substitution (s///) at /xxx/yyy/lib/site_perl/5.14.4/UML/Sequence/PerlSeq.pm line 107.