Subject: | make test may fail |
make test fails on this system:
make test
PERL_DL_NONLAZY=1 /usr/perl5.8.4d/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/all....NOK 4# Failed test 4 in t/all.t at line 490
# t/all.t line 490 is: ok(0);
t/all....FAILED tests 4-42
Failed 39/42 tests, 7.14% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/all.t 42 39 92.86% 4-42
Failed 1/1 test scripts, 0.00% okay. 39/42 subtests failed, 7.14% okay.
make: *** [test_dynamic] Error 255
Exit 2
The cause is that mysql is configured to not allow non-password connections. Maybe "make test" should not fail in this case, to make
it easier to install via CPAN.pm
Regards,
Slaven