You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Stas Bekman <st...@stason.org> on 2002/04/12 17:37:52 UTC
perl-framework: make test recompiles everything all the time
Any idea why 'make test' in perl-framework is recompiling everything on
each invocation without sources getting changed? Including rebuilding
ssl certs.
I don't recall this behavior from some time ago. This is from a fresh
checkout, just to make sure that it's not me.
Thanks!
__________________________________________________________________
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
Re: perl-framework: make test recompiles everything all the time
Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:
> On Tue, 16 Apr 2002, Stas Bekman wrote:
>
>
>>one last question. Should the ssl certificates be recreated on t/TEST
>>-clean (or 'make test')?
>
>
> yup. if you don't want them to be, there are several ways to keep
> t/conf/ssl/ca from being deleted/regenerated. careful though, since new
> ssl tests come along from time-to-time that require ssl/ca to be
> regenerated.
>
never mind then. thanks.
--
__________________________________________________________________
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
Re: perl-framework: make test recompiles everything all the time
Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 16 Apr 2002, Stas Bekman wrote:
> one last question. Should the ssl certificates be recreated on t/TEST
> -clean (or 'make test')?
yup. if you don't want them to be, there are several ways to keep
t/conf/ssl/ca from being deleted/regenerated. careful though, since new
ssl tests come along from time-to-time that require ssl/ca to be
regenerated.
Re: perl-framework: make test recompiles everything all the time
Posted by Cliff Woolley <jw...@virginia.edu>.
On Tue, 16 Apr 2002, Stas Bekman wrote:
> one last question. Should the ssl certificates be recreated on t/TEST
> -clean (or 'make test')?
As they're currently done, they need to be recreated at least *once* in a
while, because they're set to expire. That happened on me once when I
hadn't cleaned up in a while. But in general, yes, I think they should be
cleaned up with t/TEST -clean... I like having a way to throw out all the
generated cruft and go back to what's basically the same as you get from
CVS.
That's just me, though.
--Cliff
Re: perl-framework: make test recompiles everything all the time
Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:
> yup, t/TEST -conf will 'make' the c-modules, you can also just do
> 'make cmodules' if you only want to compile the changed c-modules.
one last question. Should the ssl certificates be recreated on t/TEST
-clean (or 'make test')?
--
__________________________________________________________________
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
Re: perl-framework: make test recompiles everything all the time
Posted by Doug MacEachern <do...@covalent.net>.
yup, t/TEST -conf will 'make' the c-modules, you can also just do
'make cmodules' if you only want to compile the changed c-modules.
Re: perl-framework: make test recompiles everything all the time
Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:
> On Sat, 13 Apr 2002, Stas Bekman wrote:
>
>
>>but why 't/TEST -clean' removes the compiled modules? Shouldn't this be
>>the job of 'make clean' and its variants?
>
>
> i don't really care. i never use 'make test' or even 'make' here.
> i have several checkouts of httpd-test/perl-framework that point to
> different servers, i only ever run Makefile.PL and t/TEST
>
> i think i did it that way, for one because 'make test' is only supposed to
> be run once, and t/TEST -conf/-clean is part of the 'test' really.
>
> if this is an issue for you, just run t/TEST instead of 'make test'.
that what I was always doing that's why I didn't notice before.
Now I'm trying to rebuild some of c-modules after changing them, so I
thought 'make' will recompile only those that changed. but 'make test'
recompiles everything and only 't/TEST -conf' does what either of 'make
...' should have done.
--
__________________________________________________________________
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
Re: perl-framework: make test recompiles everything all the time
Posted by Doug MacEachern <do...@covalent.net>.
On Sat, 13 Apr 2002, Stas Bekman wrote:
> but why 't/TEST -clean' removes the compiled modules? Shouldn't this be
> the job of 'make clean' and its variants?
i don't really care. i never use 'make test' or even 'make' here.
i have several checkouts of httpd-test/perl-framework that point to
different servers, i only ever run Makefile.PL and t/TEST
i think i did it that way, for one because 'make test' is only supposed to
be run once, and t/TEST -conf/-clean is part of the 'test' really.
if this is an issue for you, just run t/TEST instead of 'make test'.
Re: perl-framework: make test recompiles everything all the time
Posted by Stas Bekman <st...@stason.org>.
Doug MacEachern wrote:
> On Fri, 12 Apr 2002, Stas Bekman wrote:
>
>
>>Any idea why 'make test' in perl-framework is recompiling everything on
>>each invocation without sources getting changed? Including rebuilding
>>ssl certs.
>
>
> because 'make test' always does a t/TEST -clean after itself.
but why 't/TEST -clean' removes the compiled modules? Shouldn't this be
the job of 'make clean' and its variants?
__________________________________________________________________
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
Re: perl-framework: make test recompiles everything all the time
Posted by Doug MacEachern <do...@covalent.net>.
On Fri, 12 Apr 2002, Stas Bekman wrote:
> Any idea why 'make test' in perl-framework is recompiling everything on
> each invocation without sources getting changed? Including rebuilding
> ssl certs.
because 'make test' always does a t/TEST -clean after itself.