Re: What's cooking in git.git (Jul 2021, #03; Tue, 13)
- From
Jeff King <peff@peff.net>
- Date
- Jul 19, 2021, 08:33 UTC
- Message-ID
- <YPU48uSCxXbsjvGW@coredump.intra.peff.net>
- In-Reply-To
- <YPUrSB8+zEur+ZBt@ncase>
On Mon, Jul 19, 2021 at 09:35:36AM +0200, Patrick Steinhardt wrote:
Show 14 quoted lines
> On Tue, Jul 13, 2021 at 06:07:12PM -0700, Junio C Hamano wrote: > [snip] > > * ps/perf-with-separate-output-directory (2021-07-02) 1 commit > > - perf: fix when running with TEST_OUTPUT_DIRECTORY > > > > Test update. > > > > What's the status of this one? > > From my point of view this is ready, but it's still missing reviews so > far. The lack of interest seems to indicate that nobody has hit the > issue so far, and I wonder why that is. Am I the only one who sets > TEST_OUTPUT_DIRECTORY to a tmpfs directory in his config.mak to speed up > tests?
I had marked it to look at, but just hadn't gotten around to it. I just gave it a review (but the upshot is that it looks fine to me).
I don't set TEST_OUTPUT_DIRECTORY myself; instead I do:
GIT_TEST_OPTS = --root=/path/to/tmpfs
TBH, I had never really considered using TEST_OUTPUT_DIRECTORY for this (--root predates it, and was written explicitly for the tmpfs case). But I also think --root is more convenient:
- "make test" will run in the tmpfs for speed, but "./t1234-foo.sh -i"
will run locally, which makes it easy to "cd" in to inspect the
result - likewise, I find accessing the results in t/test-results/*.out a
little more convenientBut all of that is preference. I don't think you're wrong to use TEST_OUTPUT_DIRECTORY this way, but the above points might be interesting to you.
-Peff