Subject: | "make test" failures in t/12_html.t |
hi -- quick bug report. this is for Web::Scraper 0.20, btw.
CPAN.pm: Going to build M/MI/MIYAGAWA/Web-Scraper-0.20.tar.gz
Cannot determine perl version info from lib/Web/Scraper.pm
Checking if your kit is complete...
Looks good
Writing Makefile for Web::Scraper
CPAN: YAML loaded ok
cp lib/Web/Scraper.pm blib/lib/Web/Scraper.pm
cp bin/scraper blib/script/scraper
/usr/bin/perl "-Iinc" "-MExtUtils::MY" -e "MY->fixin(shift)"
blib/script/scraper
Manifying blib/man3/Web::Scraper.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/00_compile............ok
t/01_process............ok
t/02_process_multi......ok
t/03_scraper_nest.......ok
t/04_callback...........ok
t/05_process_first......ok
t/06_define.............ok
t/07-live...............skipped
all skipped: LIVE_TEST not enabled
t/08-leak...............skipped
all skipped: LEAK_TEST is not defined
t/09-process_hash.......ok
t/10_invalid_xpath......ok
t/11_absolute...........ok
t/12_html...............
# Failed test 'script
# @@ -1,3 +1 @@
# -function foo() {
# +function foo() {&\#10; return bar;&\#10;}&\#10;- return bar;
# -}'
# at t/12_html.t line 20.
# Failed test 'non-ascii'
# at t/12_html.t line 20.
Wide character in print at
/home/jm/.cpan/build/Web-Scraper-0.20/inc/Test/Builder.pm line 1191,
<DATA> line 1.
# got: 'テスト'
# expected: 'ãã¹ã'
# Looks like you failed 2 tests of 4.
t/12_html...............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1, 4
Failed 2/4 tests, 50.00% okay
t/13_textnode...........ok
t/14_absolute_nested....ok
t/15_absolute_hash......ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/12_html.t 2 512 4 2 50.00% 1 4
2 tests skipped.
Failed 1/16 test scripts, 93.75% okay. 2/28 subtests failed, 92.86% okay.
make: *** [test_dynamic] Error 255
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
this is with Ubuntu Dapper's built-in perl 5.8.7.