Re: cpantesters - why exit(0)?

2008-09-01 Thread David Golden
On Mon, Sep 1, 2008 at 5:14 PM, David E. Wheeler <[EMAIL PROTECTED]> wrote: > That seems…annoying. I'll grant you that you need to be able to distinguish > real failures from dependency failures, but surely there's a better way, no? No, there really isn't -- for the reasons I already described in

Re: cpantesters - why exit(0)?

2008-09-01 Thread chromatic
On Monday 01 September 2008 17:22:48 Aristotle Pagaltzis wrote: > * David E. Wheeler <[EMAIL PROTECTED]> [2008-09-01 23:20]: > > surely there's a better way, no? > Ask the maintainers of M::B, EU::MM and M::I to all export a > `halt` function that does just this? That would also provide > a conve

Re: cpantesters - why exit(0)?

2008-09-01 Thread Aristotle Pagaltzis
* David E. Wheeler <[EMAIL PROTECTED]> [2008-09-01 23:20]: > surely there's a better way, no? Ask the maintainers of M::B, EU::MM and M::I to all export a `halt` function that does just this? That would also provide a convenient spot in the respective modules’ docs for related CPAN Testers arcana,

Re: cpantesters - why exit(0)?

2008-09-01 Thread David E. Wheeler
On Sep 1, 2008, at 05:17, David Golden wrote: if (!$dot_version) { warn "You must install the graphviz package..." and exit 0; } That seems…annoying. I'll grant you that you need to be able to distinguish real failures from dependency failures, but surely there's a better way, no?

Re: cpantesters - why exit(0)?

2008-09-01 Thread Aristotle Pagaltzis
* Eric Wilhelm <[EMAIL PROTECTED]> [2008-09-01 20:40]: > with a long history That is the problem, isn’t it? There are only two kinds of systems: working systems that are complex and grew out of simple ones and non-working systems. Then again, we know that complexity does not follow simplicity, b

Re: cpantesters - why exit(0)?

2008-09-01 Thread David Golden
On Mon, Sep 1, 2008 at 2:17 PM, chromatic <[EMAIL PROTECTED]> wrote: > Is the CPANAuthorNotes page comprehensive about all of the special magic a > CPAN author has to know to mollify cranky testers? That is, if someone > wonderful wanted to abstract all of the mechanisms away behind a nice, easy >

Re: cpantesters - why exit(0)?

2008-09-01 Thread Eric Wilhelm
# from David Golden # on Monday 01 September 2008 05:13: >I'm not going to add support for "STOP:" just to save you 12 > characters. Well I hope it isn't all about me. I happen to think that putting a distribution on CPAN is far more error-prone and mysterious than necessary and comes with a l

Re: cpantesters - why exit(0)?

2008-09-01 Thread chromatic
On Monday 01 September 2008 05:17:56 David Golden wrote: > You need: > >   if (!$dot_version) { >     warn "You must install the graphviz package..." and exit 0; >   } Is the CPANAuthorNotes page comprehensive about all of the special magic a CPAN author has to know to mollify cranky testers? T

Re: cpantesters - why exit(0)?

2008-09-01 Thread David Golden
On Sun, Aug 31, 2008 at 3:43 PM, Joe McMahon <[EMAIL PROTECTED]> wrote: >> I really meant you can die on missing non-perl perequisites (e.g. a >> library, a binary, a database, etc.). > > Yeah, I do that for GraphViz::Data::Structure (for graphviz) - and I still > get FAILs. So how does one get rou

Re: cpantesters - why exit(0)?

2008-09-01 Thread David Golden
On Sun, Aug 31, 2008 at 2:50 PM, Eric Wilhelm <[EMAIL PROTECTED]> wrote: >>It has positives and negatives. The parsing is done out of the >>combined STDOUT and STDERR of the entire command. For tests, that >>includes all TAP and test output. The more text parsing we do e.g. >>your "STOP: ",