[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Don't build tests as part of plain "make"

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-04-02 21:11:33 CEST

Greg Hudson wrote:
> On Wed, 31 Mar 2004, Max Bowsher wrote:
>> Building tests as part of "make" wastes time if you do not intend to run
the
>> tests. They will be built on "make check" if not already built anyway.
>
> -1. This comes up every so often; the problem is that "make CFLAGS=-g"
> (or whatever) followed by "make check" will compile the test programs with
> different flags than the user intended.
>
> That may not be the most compelling reason in the world, but it also
> doesn't take very long to build the tests compared to the rest of the
> code, so the reason doesn't have to be all that compelling.

Are there any use cases when the user really care what CFLAGS are used to
build temporary testing programs that are not installed?

If there are, I'd rather find a "best-of-both-worlds" solution, as the
wasted time was sufficiently annoying to motivate me to make and test this
change.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 2 21:12:11 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.