From: Jeff King Date: Sun, 29 Nov 2009 05:10:47 GMT Subject: Re: [PATCH 3/4] build dashless "test-bin" directory similar to installed bindir Message-ID: <20091129051047.GA6135@coredump.intra.peff.net> In-Reply-To: <7vzl65ex6u.fsf@alter.siamese.dyndns.org> On Sat, Nov 28, 2009 at 09:07:05PM -0800, Junio C Hamano wrote: > Jeff King writes: > > > make && cd t && make tXXXX-YYYY.sh > > > > to work correctly ... > > > > I also like to be able to simply run ./tXXXX-YYYY.sh. > > I think both can be done by running "cd .. && make test-bin-stuff" from > test-lib.sh if you wanted to. Isn't it essentially what you do for > valgrind? Yes, except that the valgrind setup doesn't actually interact with the Makefile; it just assumes that git-* is interesting. I would be happy with a solution that is triggered from test-lib. It may even be possible to refactor the valgrind stuff, but I'm not sure. What Dscho eventually submitted doesn't bear much resemblence to my original attempt, and I've forgotten all of the details. -Peff