On Sat, 15 Sep 2001, Philippe M . Chiasson wrote:

> On Sat, Sep 15, 2001 at 02:04:13AM +0800, Stas Bekman wrote:
> >
> > OK, here is the patch that:
> >
> > - adds the writefile sub to genfile+throw content in
> > - adds a scan for APACHE_TEST_CONFIGURE and its execution
> > - implements the PerlRequire test
> >
> > the ugly parts:
> >
> > - I wish PerlSwitches were working with +Parent, so I didn't have to do
> >   the ugly hack with adding yet another PerlRequire
> >
> > - +Parent, doesn't worry to load the test INCs so every test has to do it
> >   manually, would be nice to do it in-core
> >
> > - +Parent doesn't clean @INC from the main interpreter, run the test:
> >   ./t/TEST -v directive/perlrequire
> >   and check the error_log -- you will see that VH includes the INC path
> >   defined in the main interpreter. I'm talking about:
> >   /home/stas/apache.org/registry/t/htdocs/testdirectives/main
> >   generated by:
> >   +PerlSwitches -Mlib=@documentroot@/testdirectives/main
>
> Fails for me with this :
>
> directive/perlrequire....
> 1..2
> Use of uninitialized value in concatenation (.) or string at directive/perlrequire.t 
>line 24.
> dubious
>         Test returned status 2 (wstat 512, 0x200)
> DIED. FAILED tests 1-2
>         Failed 2/2 tests, 0.00% okay
> Failed Test             Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> directive/perlrequire.t    2   512     2    2 100.00%  1-2
> server localhost.localdomain:8529 shutdown
> [Sat Sep 15 14:41:21 2001] [info] removed PID file 
>/home/gozer/sources/mod_perl2/cvs/t/logs/httpd.pid (pid=16752)
> [Sat Sep 15 14:41:21 2001] [notice] caught SIGTERM, shutting down
> error running tests (please examine t/logs/error_log)
> Failed 1/1 test scripts, 0.00% okay. 2/2 subtests failed, 0.00% okay.
>
> And error_log doesn't say anything interesting ;(

That's because you didn't run './t/TEST -clean' first. So the test
enviroment wasn't configured. Try again.

_____________________________________________________________________
Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]   http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to