Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigPerl.pm TestRun.pm TestServer.pm

2004-08-06 Thread Stas Bekman
[EMAIL PROTECTED] wrote:
stas2004/08/06 11:20:42
  Modified:perl-framework/Apache-Test Changes Makefile.PL
   perl-framework/Apache-Test/lib/Apache TestConfig.pm
TestConfigPerl.pm TestRun.pm TestServer.pm
  Log:
  move the custom config code into Apache::TestConfig, split the config
  object creation in 2 parts - first not requiring the knowledge of
  httpd location, the second requiring one, refactor the custom config
  interactive prompting into the second phase, if failed to find
  httpd. Reshuffle the code to run first bits not requiring the
  knowledge of httpd location.
I had to do some re-shuffling to change the timing of the httpd 
detection, as a few things were broken. I hope I didn't break anything. 
Please do extensive testing. Thanks.

(I wish there was a test suite for Apache-Test itself, not the internal 
tests, but the configuration tests)

--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigPerl.pm

2004-07-15 Thread Geoffrey Young


 And may be this is a good idea for the A-T skeleton as well :)

indeed :)

actually, the bug reporting skeleton used t/My/Handler.pm, and I'll
certainly change that to t/lib not.  the A-T module skeleton actually starts
with no supporting modules, since you would want to install the module
you're testing.  but maybe I'll come up with something anyway :)

--Geoff


Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigPerl.pm

2004-07-15 Thread David Wheeler
On Jul 14, 2004, at 5:01 PM, [EMAIL PROTECTED] wrote:
 +If a directory t/lib exists from where the tests are run, adjust
  [EMAIL PROTECTED] so that this directory is added when running the tests,
  +both within t/TEST and within t/conf/modperl_inc.pl.
  +This allows inclusion of modules specific to the tests that
  +aren't intended to be installed. [Stas, Randy]
Oh, nice! Now maybe I'll be able to get rid of this in my 
t/conf/extra.conf.in:

  Perl
use File::Spec::Functions qw(catdir);
use lib catdir '@ServerRoot@', 'lib';
use lib catdir '@ServerRoot@', '..', 'blib';
use lib catdir '@ServerRoot@', '..', 'lib';
  /Perl
Yes?
Regards,
David


Re: cvs commit: httpd-test/perl-framework/Apache-Test/lib/Apache TestConfig.pm TestConfigPerl.pm

2004-07-15 Thread Stas Bekman
Geoffrey Young wrote:

And may be this is a good idea for the A-T skeleton as well :)

indeed :)
actually, the bug reporting skeleton used t/My/Handler.pm, and I'll
certainly change that to t/lib not.  
ECANTPARSETHAT
the A-T module skeleton actually starts
with no supporting modules, since you would want to install the module
you're testing.  but maybe I'll come up with something anyway :)
:)
--
__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com