httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhishek Khandelwal <akhan...@spikesource.com>
Subject Re: httpd test (perl-framework)
Date Thu, 15 Apr 2004 21:50:40 GMT


On Thu, 2004-04-15 at 12:48, Stas Bekman wrote:
> Abhishek Khandelwal wrote:
> > On Thu, 2004-04-15 at 12:19, Stas Bekman wrote:
> > 
> >>Abhishek Khandelwal wrote:
> >>
> >>>I dont see any difference in two files.
> >>>
> >>>I runt the test twice to do a test coverage analysis.
> >>>At first, I install and test apache without test coverage
> >>>and then I again install and test with test-coverage enabled.
> >>>Second time, I get this error.
> >>
> >>Aha, you should have mentioned that in first place. In which case that's your

> >>problem. With test-coverage enabled you don't get mod_access loaded. I don't

> >>know why. Not an Apache-Test problem I think.
> > 
> > 
> > No, it is not related to code coverage. Since, I can run the test with
> > code coverage many a times. As I said, it occurs randomly without any
> > set pattern. So I dont know what exactly is causing this. 
> > And this problem occurs even when I have not enabled code coverage. 
> > The work around solution I got is I clean the test with t/TEST -clean,
> > remove the Makefile from test/perl-framework and the rebuild the test
> > with perl Makefile.PL option. When I do that, everythign goes smoothly.
> > 
> > The problem lies somewhere else.
> 
> Are you absolutely sure that the config doesn't change? Please do the real 
> check with diff on the whole t/conf directory if you didn't yet.


I see no difference in the config file. 

> 
> > What exactly is sticky configuration?
> 
> perldoc Apache::TestRun
> 
> and scroll to:
> 
> Persistent Custom Configuration
> 
> Please do this testing for me:
> 
> >>I doubt it has something to do with sticky configuration, but give it a try 
> >>and try to run with:
> >>
> >>APACHE_TEST_NO_STICKY_PREFERENCES=1 make test

I will do this test, but as I said, it is no confirmation that problem
is gone since it happens randomly. As I just ran the tests again without
any changes and it did run properly, both with and without coverage.

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


Mime
View raw message