MIME::Charset not listed in TEST_REQUIRES
Closed this issue · 1 comments
salewski commented
Two of the Unicode-Tussle tests require the MIME::Charset module, but it is not listed under TEST_REQUIRES
in Makefile.PL
, so the user doesn't find out about the prereq until the tests fail:
make[1]: Leaving directory '/path/to/Unicode-Tussle/Unicode-Tussle-1.11'
cd Unicode-Tussle-1.11 && make test LIBPERL_A="libperl.a" LINKTYPE="dynamic" PREFIX="/usr/local" PASTHRU_DEFINE=' ' PASTHRU_INC=' '
/path/to/Unicode-Tussle/Unicode-Tussle-1.11
make[1]: Entering directory '/path/to/Unicode-Tussle/Unicode-Tussle-1.11'
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/compile.t .. 1/?
# Failed test 'blib/script/hantest compiles'
# at t/compile.t line 22.
# 'Can't locate MIME/Charset.pm in @INC (you may need to install the MIME::Charset module) (@INC contains: /path/to/Unicode-Tussle/Unicode-Tussle-1.11/blib/lib /path/to/Unicode-Tussle/Unicode-Tussle-1.11/blib/arch /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5 /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/LineBreak.pm line 22.
# BEGIN failed--compilation aborted at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/LineBreak.pm line 22.
# Compilation failed in require at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/GCString.pm line 24.
# BEGIN failed--compilation aborted at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/GCString.pm line 24.
# Compilation failed in require at blib/script/hantest line 29.
# BEGIN failed--compilation aborted at blib/script/hantest line 29.
# '
# doesn't match '(?^i:syntax OK)'
# Failed test 'blib/script/unifmt compiles'
# at t/compile.t line 22.
# 'Can't locate MIME/Charset.pm in @INC (you may need to install the MIME::Charset module) (@INC contains: /path/to/Unicode-Tussle/Unicode-Tussle-1.11/blib/lib /path/to/Unicode-Tussle/Unicode-Tussle-1.11/blib/arch /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5 /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi /home/someuser/local/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/LineBreak.pm line 22.
# BEGIN failed--compilation aborted at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/LineBreak.pm line 22.
# Compilation failed in require at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/GCString.pm line 24.
# BEGIN failed--compilation aborted at /home/someuser/local/lib/perl5/x86_64-linux-gnu-thread-multi/Unicode/GCString.pm line 24.
# Compilation failed in require at blib/script/unifmt line 24.
# BEGIN failed--compilation aborted at blib/script/unifmt line 24.
# '
# doesn't match '(?^i:syntax OK)'
t/compile.t .. 31/? # Looks like you failed 2 tests of 37.
t/compile.t .. Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/37 subtests