Subject: | tests fail in 0.31 |
In the new 0.31 release, quite a lot of tests fail:
[bas@cordelia]My-Packages/libimdb-perl/libimdb-film-perl-0.31> make all
test
cp lib/IMDB/Film.pm blib/lib/IMDB/Film.pm
cp lib/IMDB/BaseClass.pm blib/lib/IMDB/BaseClass.pm
cp lib/IMDB/Persons.pm blib/lib/IMDB/Persons.pm
Manifying blib/man3/IMDB::BaseClass.3pm
Manifying blib/man3/IMDB::Film.3pm
Manifying blib/man3/IMDB::Persons.3pm
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/01_base.t
t/m1_get_movie_by_code.t t/m2_get_movie_by_title.t
t/m3_get_movie_by_wrong_title.t t/m4_get_movie_by_title_single_match.t
t/m5_get_movie_by_title_without_rate.t
t/m6_get_movie_by_title_with_cr_casts.t t/m7_get_movie_by_info_offline.t
t/p1_get_person_by_name.t t/p2_get_person_by_code.t
t/p3_get_person_by_wrong_name.t t/p4_get_person_info_offline.t
t/01_base................................ok
t/m1_get_movie_by_code...................NOK 8
# Failed test 'Movie Cast'
# in t/m1_get_movie_by_code.t at line 54.
# Structures begin differing at:
# $got->[1]{name} = '[IMG]'
# $expected->[1]{name} = 'Brian Cox'
t/m1_get_movie_by_code...................ok 12/19# Looks like you failed
1 test of 19.
t/m1_get_movie_by_code...................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 8
Failed 1/19 tests, 94.74% okay
t/m2_get_movie_by_title..................NOK 8
# Failed test 'Movie Cast'
# in t/m2_get_movie_by_title.t at line 55.
# Structures begin differing at:
# $got->[1]{name} = '[IMG]'
# $expected->[1]{name} = 'Brian Cox'
t/m2_get_movie_by_title..................ok 12/14# Looks like you failed
1 test of 14.
t/m2_get_movie_by_title..................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 8
Failed 1/14 tests, 92.86% okay
t/m3_get_movie_by_wrong_title............ok
t/m4_get_movie_by_title_single_match.....ok
t/m5_get_movie_by_title_without_rate.....ok
t/m6_get_movie_by_title_with_cr_casts....ok
t/m7_get_movie_by_info_offline...........ok
t/p1_get_person_by_name..................NOK 11
# Failed test 'Person genres'
# in t/p1_get_person_by_name.t at line 47.
# Structures begin differing at:
# $got->[3] = 'Comedy'
# $expected->[3] = 'Short'
# Looks like you failed 1 test of 11.
t/p1_get_person_by_name..................dubious
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 11
Failed 1/11 tests, 90.91% okay
t/p2_get_person_by_code..................ok
t/p3_get_person_by_wrong_name............ok
t/p4_get_person_info_offline.............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/m1_get_movie_by_code.t 1 256 19 1 5.26% 8
t/m2_get_movie_by_title.t 1 256 14 1 7.14% 8
t/p1_get_person_by_name.t 1 256 11 1 9.09% 11
Failed 3/12 test scripts, 75.00% okay. 3/73 subtests failed, 95.89% okay.
make: *** [test_dynamic] Error 255