Subject: | "make test" with live server failing (2/19/06) |
I downloaded version 0.12 and applied the patches in tickets #12124 and
#16185 via manual edits. Doing a "make test" revealed some problems:
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..13
ok 1 - require Movie;
connect to imdb.com server? [y]
This test's random movie (from list of 1 movie) will be 'Alien'...
ok 2 - The object isa IMDB::Movie
ok 3 - right id
ok 4 - right title
ok 5 - right year
Use of uninitialized value in concatenation (.) or string at test.pl
line 22, <STDIN> line 1.
not ok 6 - got a user_rating:
# Failed test (test.pl at line 22)
# undef
# doesn't match '(?-xism:\d+\.?\d*)'
not ok 7 - strict: correct director
# Failed test (test.pl at line 23)
# Structures begin differing at:
# $got->{0000631} = Does not exist
# $expected->{0000631} = 'HASH(0x1915f98)'
not ok 8 - loose: correct writers
# Failed test (test.pl at line 24)
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'O'Bannon, Dan'
not ok 9 - normal: correct genres
# Failed test (test.pl at line 25)
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'Sci-Fi'
not ok 10 - HTML::Template correct director
# Failed test (test.pl at line 28)
# got: undef
# expected: 'HASH(0x1915f44)'
not ok 11 - HTML::Template correct writer 1
# Failed test (test.pl at line 29)
# got: undef
# expected: 'HASH(0x1915f44)'
not ok 12 - HTML::Template correct writer 2
# Failed test (test.pl at line 30)
# got: undef
# expected: 'HASH(0x1915f44)'
not ok 13 - deep copy successful
# Failed test (test.pl at line 31)
# Structures begin differing at:
# $got->[0] = Does not exist
# $expected->[0] = 'Scott, Ridley'
# Looks like you failed 8 tests of 13.
make: *** [test_dynamic] Error 8
Thanks for the module. I may try to fix it; we'll see. (IMDB-Film
0.18's make test is also failing.)