[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apreq-dev
Subject:    t/SMOKE and t/REPORT
From:       Stas Bekman <stas () stason ! org>
Date:       2004-08-29 1:23:53
Message-ID: 41313029.3010004 () stason ! org
[Download RAW message or body]

It'd be nice to add t/SMOKE and t/REPORT to the apreq test suites.

Index: Makefile.PL
===================================================================
RCS file: /home/cvs/httpd-apreq-2/glue/perl/Makefile.PL,v
retrieving revision 1.14
diff -u -r1.14 Makefile.PL
--- Makefile.PL 24 Jul 2004 03:43:41 -0000      1.14
+++ Makefile.PL 29 Aug 2004 01:20:15 -0000
@@ -10,6 +10,9 @@
  use Apache::TestSmoke ();
  use Apache::TestRun ();
  use Apache::TestConfigPerl ();
+use Apache::TestSmokePerl ();
+use Apache::TestReportPerl ();
+
  use File::Find qw(finddepth);

  my @scripts = ();
@@ -28,6 +31,8 @@

  Apache::TestMM::filter_args();
  Apache::TestMM::generate_script("t/TEST");
+Apache::TestSmokePerl->generate_script;
+Apache::TestReportPerl->generate_script;

  ModPerl::MM::WriteMakefile(
      NAME => 'libapreq2',

t/SMOKE will require more work to work like t/TEST, ideally the stuff from 
t/TEST.PL should be converted into a class and script autogenerated, then 
t/SMOKE can be a subclass of it.

t/REPORT can be extended to provide information specific to apreq2, so 
this can be used to post bug reports, similar to modperl 2.


-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic