On Wed, Jan 30, 2008 at 02:47:51PM -0500, Sam Tregar wrote: > On Jan 30, 2008 1:46 PM, David Cantrell <[EMAIL PROTECTED]> wrote: > > exit(0) before calling WriteMakefile(). > Hmm, that's a chicken-or-egg problem. If I try to check before > WriteMakefile() then you might not have XML::SAX installed yet. You might > be about to install a broken one, and I won't find out about that until the > tests run.
I *think* that CPAN.pm does this: run Makefile.PL detect missing dependencies and install them run Makefile.PL again make ... so if you can't 'use XML::SAX' at all then you're fine to continue. If you can but it's broken, *then* stop. Alternatively, wait for Grant McLean to fix XML::SAX now that he's aware of the problem :-) > Any way to have a test fail but not get an email from CPAN > testers? The very latest CPAN::Reporter adds an advanced config option to look at a file containing a list of regexes to use to figure out whether to skip CCing authors on reports. Upgrading to that version is on my to-do list for this evening. I can add XML-Validator-Schema to that file if you like, but I think it would be better to wait for Grant. After all, if you hadn't mumbled about the bogus test result no-one would have known about the underlying problem. -- David Cantrell | top google result for "topless karaoke murders" [OS X] appeals to me as a monk, a user, a compiler-of-apps, a sometime coder, and an easily amused primate with a penchant for those that are pretty, colorful, and make nice noises. -- Dan Birchall, in The Monastery