From: Jeff King Date: Sat, 28 Nov 2009 19:49:11 GMT Subject: Re: [PATCH 3/4] build dashless "test-bin" directory similar to installed bindir Message-ID: <20091128194910.GA17605@coredump.intra.peff.net> In-Reply-To: <7vtywefn88.fsf@alter.siamese.dyndns.org> On Sat, Nov 28, 2009 at 11:44:39AM -0800, Junio C Hamano wrote: > . Advertising this forces the Makefile build test-bin/ contents from > "all" target. I think test-bin/ should only depend on "test" (iow, > after "make all && make install" there shouldn't have to be "test-bin" > directory. Would implementing it that way mean that: make && cd t && make does not work (or worse, might silently use stale information in test-bin)? Dealing with this is part of the reason the valgrind code (which similarly sets up a pseudo-installed directory) does everything in test-lib.sh, and not as part of the make process. -Peff