J
J Krugman
I'm trying to understand what's going on, and decide what to do.
When I attemptto install the module XML::Validator::Schema via
CPAN.pm, all attempted tests fail:
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------t/01basic.t 2 2 100.00% 1-2
t/02yaml.t 152 152 100.00% 1-152
t/03types.t 163 163 100.00% 1-163
t/04model.t 38 38 100.00% 1-38
2 tests skipped.
Failed 4/6 test scripts, 33.33% okay. 355/355 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
But when I run these tests "by hand" (e.g. in the build directory,
perl -Mlib='./blib/lib' t/01basic.t), they *all* succeed.
This is a very unusual situation. My installations via CPAN.pm
typically succeed, and if they fail because of some failed test,
this test fails also when invoked manually.
Can someone tell me why these tests would fail when invoked through
CPAN.pm, but not when they are invoked manually? And should I
disregard CPAN.pm's warnings in this case and force the installation?
Thanks!
jill
When I attemptto install the module XML::Validator::Schema via
CPAN.pm, all attempted tests fail:
Failed Test Status Wstat Total Fail Failed List of Failed
--------------------------------------------------------------------------------t/01basic.t 2 2 100.00% 1-2
t/02yaml.t 152 152 100.00% 1-152
t/03types.t 163 163 100.00% 1-163
t/04model.t 38 38 100.00% 1-38
2 tests skipped.
Failed 4/6 test scripts, 33.33% okay. 355/355 subtests failed, 0.00% okay.
make: *** [test_dynamic] Error 29
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
But when I run these tests "by hand" (e.g. in the build directory,
perl -Mlib='./blib/lib' t/01basic.t), they *all* succeed.
This is a very unusual situation. My installations via CPAN.pm
typically succeed, and if they fail because of some failed test,
this test fails also when invoked manually.
Can someone tell me why these tests would fail when invoked through
CPAN.pm, but not when they are invoked manually? And should I
disregard CPAN.pm's warnings in this case and force the installation?
Thanks!
jill