Subject: | Problem with trust_test_report_history |
Hello Andreas.
There's a problem with installing module which doesn't have
prerequisites installed but pass all its tests, when
trust_test_report_history is in effect.
First time you run "cpan Some::Module", cpan runs Makefile.PL, notes
that prerequisites are missing, then run "make", "make test", but even
if tests are ok, skip "make install" because of prerequisites missing.
CPAN::Reporter sends "pass" report anyway because tests are successful.
Next time you run "cpan Some::Module" (or even if Some::Module is a
prerequisite for another module), cpan takes a look into report
database, and run "make install" despite the fact that prerequisite is
still missing.
Similar problem may appear when somebody run "test Some::Module", remove
some prerequisites and run "install Some::Module", though I'm not sure
how correct it is from "user sanity" perspective.
--
Serguei Trouchelle