Stas Bekman wrote:

Steve Hay wrote:

please run the test suite twice:

env APACHE_TEST_PRETEND_NO_LWP=1 make test ;
make test

the former will emulate the situation when LWP is missing. See if you have any problems besides the perlio test



(The APACHE_TEST_PRETEND_NO_LWP setting seems to work OK: I re-instated the old version of the cookie tests that broke without LWP, and (with LWP installed) they still break when that flag is set, and pass when it isn't.)


is it still the problem with leading / in the path? Can you please submit this issue as a separate thread?

Sorry - I must have confused you there. I was reporting the fact that the new APACHE_TEST_PRETEND_NO_LWP option is indeed working, which I established by running the test suite with the *old* (broken) cookie tests in place. (They should, and do, break when we pretend not to have LWP, even though LWP is really installed.)


All is well when running with the *new* (fixed) cookie tests, whether we pretend not to have LWP or not.


Unfortunately that crash actually takes the Apache server down causing all subsequent tests to fail (I generally just stop the testsuite there). How do I have "nmake test" skip one test script so that I can see what the rest do without having to run each one manually?


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


or you can change the test to skip, by changing its plan to 'plan => tests, 0;'
http://perl.apache.org/docs/general/testing/testing.html#Skipping_a_Whole_Test



probably the former is a better approach.

Groovy. I've added a SKIP file containing initially just "filter" and this enables me to get further. Sadly there are further failures:


hooks/stacked_handlers2.t
modules/include.t

I'll report these in separate threads.

BTW, The SKIP file is not as easy to use on Win32 as it could be. I find that if I put in a line like "hooks/stacked_handlers2" then the test is *not* skipped. Neither is it skipped if I write "hooks\stacked_handlers2". It turns out that I have to write "hooks\\stacked_handlers2". Yuck!

I only realised this when I added "modules\include" and got this error:

===
Unrecognized escape \i passed through in regex; marked by <-- HERE in m/(?:modul
es\i <-- HERE nclude)/ at C:\Temp\modperl-2.0\Apache-Test\lib/Apache/TestHarness
.pm line 138.
===


(Writing "hooks\stacked_handlers2" doesn't trigger this error because \s is recognised!)

I can hack TestHarness.pm so that it works OK for me on Win32, but doing it so that it works portably on any OS it rather trickier. I haven't got time for it now.

- Steve


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



Reply via email to