the attached patch makes it possible to use -bugreport with the Apache::TestRun(Perl)->generate_script() form

sorry, I meant to include examples. with this patch, you can use the following formats in your Makefile.PL


# scalars are printed in the post-error banner
Apache::TestRun(Perl)->generate_script(bugreport => 'some message');

# subroutines are eval'd when t/TEST is generated, so config-time
# variables such as Apache::TestConfig::IS_MOD_PERL_2 can be used
Apache::TestRun(Perl)->generate_script(bugreport => sub { 'some message' });

# continues to work as before (if anyone actually uses it)
Apache::TestRun->generate_script('t/TEST');

--Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to