httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: Win32 test changes
Date Wed, 23 Apr 2003 05:17:20 GMT
Randy Kobes wrote:
> On Wed, 23 Apr 2003, Stas Bekman wrote:
>>Joe Schaefer wrote:
>>>Randy Kobes <> writes:
>>>>I've attached a diff for the httpd-apreq Makefile.PL which
>>>>implements for Win32 the new Apache-Test tests. The main thing
>>>>that's done here is to find Apache.exe and subsequently
>>>>set $ENV{APACHE}. The changes I think don't affect non-Win32
>>>>systems - if they're OK, I can commit them.
>>So I believe this is not needed anymore (Randy, please
>>confirm). Just update Apache::Test to the current cvs version.
> That's right - the current cvs Apache-Test picks up the system's
> fine. Maybe this is too much hand-holding, but the
> patch I had also makes some typical guesses about what
> $ENV{APACHE} could be set to, and sets it if it finds a 1.3
> version, or otherwise prompts the user for it (Win32 users
> typically may not be familiar with environment variables, even
> the PATH, judging by a lot of messages I get). Without this, if
> one doesn't set $ENV{APACHE} on Win32, a 2.0 Apache is used, if
> found. Would this be OK to leave in? Having to pick up a 1.3
> Apache on Win32 without $ENV{APACHE} set is such a special case
> that it's probably not worth working into Apache-Test, and yet
> libapreq is a really important package, so this special treatment
> might be justified in this case ...

You are talking about apreq1 specific patch, right?

So now you only need this in the apreq distro:

#!perl -w
use strict;
use Apache::TestRunPerl();

btw, you can't use this line with perl < 5.8.0:

use warnings FATAL => 'all';

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

View raw message