t/TEST -start-httpd -port=34343

2005-01-18 Thread Jim Martinez
Hi,

I'm looking for help with the oh-so-cool Apache::Test module (version
1.17), hope this is the right place to ask.

In the docs (link below) there is mention of a -port option for t/Test.  
Yet when I try it it doesn't work.  It's not listed when I look at t/Test
--help, for example.

http://perl.apache.org/docs/general/testing/testing.html#Parallel_Testing

Here's what I see when I run t/TEST -start-httpd -port=34343

[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/jjm/src/ShimReport/t/TEST 
-start-httpd -port=34343
[  error] unknown opts or test names: -port=34343
-help will list options

I'm actually interested in using the -port=select option.  Same thing
happens when I try to use -port=select

Any ideas or pointers?  At this moment, there is no FAQ nor an Info file
for this mailing list I believe.

Thanks in advance,
Jim




Re: t/TEST -start-httpd -port=34343

2005-01-18 Thread Geoffrey Young

 
 http://perl.apache.org/docs/general/testing/testing.html#Parallel_Testing
 
 Here's what I see when I run t/TEST -start-httpd -port=34343

yeah, this is where Apache-Test gets confusing...

it's '-port 34343' not '-port=34343'.  same with '-port select'.  this is
different than, say '-trace=debug' where the = is required...

basically, the first set of options from t/TEST -help use an equal sign and
are part of Apache::TestRun.  the second set _do not_ use an equal sign and
are part of Apache::TestConfig.  gotta love legacy decisions :)

--Geoff


Re: t/TEST -start-httpd -port=34343

2005-01-18 Thread Jim Martinez
What I needed to do was this:

perl Makefile.PL -httpd /usr/sbin/apache -port select

The -port option is a configure option.

Regards,
Jim

On Jan 18 Jim Martinez wrote:

 Hi,
 
 I'm looking for help with the oh-so-cool Apache::Test module (version
 1.17), hope this is the right place to ask.
 
 In the docs (link below) there is mention of a -port option for
 t/Test.  Yet when I try it it doesn't work.  It's not listed when I look
 at t/Test --help, for example.
 
 http://perl.apache.org/docs/general/testing/testing.html#Parallel_Testing
 
 Here's what I see when I run t/TEST -start-httpd -port=34343
 
 [warning] setting ulimit to allow core files
 ulimit -c unlimited; /usr/bin/perl /home/jjm/src/ShimReport/t/TEST 
 -start-httpd -port=34343
 [  error] unknown opts or test names: -port=34343
 -help will list options
 
 I'm actually interested in using the -port=select option.  Same thing
 happens when I try to use -port=select
 
 Any ideas or pointers?  At this moment, there is no FAQ nor an Info file
 for this mailing list I believe.
 
 Thanks in advance,
 Jim