Bug in prove exit status
publiustemp-tapx at yahoo.com
Thu Sep 4 11:08:30 UTC 2008
--- On Thu, 4/9/08, Ovid <curtis_ovid_poe at yahoo.com> wrote:
> As you can see, we have a '1' as the value of $?
> and that's causing our integration tests to fail. The
> problem is that App::Prove::_runtests is returning the value
> of $aggregator->has_problems. I think it should return
> $aggregator->has_errors, but if there's a rationale
> behind this that I'm not aware of, I'd like to know
> before I fix this.
I've gone ahead and fixed this on the grounds that running prove states 'Result: PASS' for unexpectedly succeeding tests and the exit status should agree with this.
Buy the book - http://www.oreilly.com/catalog/perlhks/
Tech blog - http://use.perl.org/~Ovid/journal/
Twitter - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6
More information about the tapx-dev