----- Original Message ---- > From: Michael Peters <mpet...@plusthree.com> > > > When running tests with prove -a file.tar.gz it nicely creates the > > archive file > > but if the test bails out the archive file is not created at all. > > > > Is this a feature or a bug ? > > Sounds like a bug. I'm not sure what path a bail out follows, but > TAP::Harness::Archive overrides runtests() to add the archive creation after > the > parent's runtests() have finished. What does TAP::Harness do when it > encounters > a bailout? Is there some exception thrown that T::H::A should catch?
Test::Builder exits with 255 on a bail out. TAP::Harness dies. Maybe an exception would be better here. Cheers, Ovid -- 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