perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: t/perl/ithreads.t revisited
Date Wed, 15 Dec 2004 04:27:58 GMT
Steve Hay wrote:

>>No, it's something in the mp2 test setup.  If I just start my installed 
>>Apache2/mp2 setup then I get two Apache.exe's as expected.  I'll try to 
>>see what the difference is.
>>
> 
> Got it.  We made an exception for Win32 to always run in one-process 
> mode because otherwise we couldn't relaibly stop both the parent and 
> child processes.  See the call to Win32::Process::Create() in 
> Apache::TestServer::start().
> 
> It does have the undesirable side-effect that we have seen in this 
> thread, though, namely that if one test causes the single Apache.exe 
> process to exit for whatever reason then all subsequent tests will fail 
> since they now have no server to connect to :(

I can't really intelligently comment on this one, since I don't know if 
it's possible to rework that code to allow win32 spawn more than 1 proc :(

what would be nice is to at least somehow abort the test suite, if there 
is no server running.

-- 
__________________________________________________________________
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message