Re: [PATCH] t/known-leaky: add list of known-leaky test scripts
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 21, 2018, 16:53 UTC
- Message-ID
- <xmqqa7w21dz7.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <CAN0heSoDJdA3tTVZZ=imj8+z5FeqKy00dA2kWP4CAC4=+7VBiw@mail.gmail.com>
Martin Ågren <martin.agren@gmail.com> writes:
Show 8 quoted lines
> On 19 February 2018 at 22:29, Jeff King <peff@peff.net> wrote: > ... >> Or alternatively, we could just not bother with checking this into the >> repository, and it becomes a local thing for people interested in >> leak-testing. What's the value in having a shared known-leaky list, >> especially if we don't expect most people to run it. > > This sums up my feeling about this.
Even though keeping track of list of known-leaky tests may not be so interesting, we can still salvage useful pieces from the discussion and make them available to developers, e.g. something like
prove --dry --state=failed |
perl -lne '/^(t[0-9]{4})-.*\.sh$/ and print $1' | sort >$@+
if cmp >/dev/null $@ $@+; then rm $@+; else mv $@+ $@; ficould be made into a target to stash away the list of failing tests after a test run?