git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/4] t0000 cleanups
@ 2021-01-28  6:32 Jeff King
  2021-01-28  6:32 ` [PATCH 1/4] t0000: keep clean-up tests together Jeff King
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jeff King @ 2021-01-28  6:32 UTC (permalink / raw)
  To: git

This is a re-send of some cleanups from:

  https://lore.kernel.org/git/20201120001458.GA274082@coredump.intra.peff.net/

There were some textual conflicts back then which would have been
tedious to resolve, so we punted. Now that the requisite commits are all
in master, this can be applied there without any conflicts.

  [1/4]: t0000: keep clean-up tests together
  [2/4]: t0000: run prereq tests inside sub-test
  [3/4]: t0000: run cleaning test inside sub-test
  [4/4]: t0000: consistently use single quotes for outer tests

 t/t0000-basic.sh | 570 +++++++++++++++++++++++------------------------
 1 file changed, 284 insertions(+), 286 deletions(-)

-Peff

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] tests: make sure nested lazy prereqs work reliably
@ 2020-11-20  0:14 Jeff King
  2020-11-20  0:17 ` [PATCH 1/4] t0000: keep clean-up tests together Jeff King
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff King @ 2020-11-20  0:14 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: SZEDER Gábor, git, Johannes Schindelin

On Thu, Nov 19, 2020 at 11:50:26AM -0800, Junio C Hamano wrote:

> Jeff King <peff@peff.net> writes:
> 
> > I took a look at converting some of the existing tests. This seems to
> > work. It's a bit longer to read, perhaps, but I kind of like that the
> > expected outcome is all laid out. It also pollutes the test output less
> > (e.g., if you wanted to count up skipped tests in the whole suite, you'd
> > get a bunch of noise from t0000 for these uninteresting skips).
> >
> > Thoughts? I think this is something I'd do on top of your patch.
> 
> Yes, it looks nice as the expectation is expressed much clearly.

OK, then here's the whole thing. I ended up with a few more cleanups,
too. This is all on top of Gábor's patches. It's conceptually
independent, but the textual wrangling was annoying enough it didn't
make any sense to require you to do it again during merging. ;) Plus I
do not think either topic is high-risk nor urgent enough to worry too
much about one blocking the other.

The diffstat is scary, but it's mostly the final patch, which is pretty
mechanical.

  [1/4]: t0000: keep clean-up tests together
  [2/4]: t0000: run prereq tests inside sub-test
  [3/4]: t0000: run cleaning test inside sub-test
  [4/4]: t0000: consistently use single quotes for outer tests

 t/t0000-basic.sh | 570 +++++++++++++++++++++++------------------------
 1 file changed, 284 insertions(+), 286 deletions(-)

-Peff

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-28  6:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-28  6:32 [PATCH 0/4] t0000 cleanups Jeff King
2021-01-28  6:32 ` [PATCH 1/4] t0000: keep clean-up tests together Jeff King
2021-01-28  6:32 ` [PATCH 2/4] t0000: run prereq tests inside sub-test Jeff King
2021-01-28  6:32 ` [PATCH 3/4] t0000: run cleaning test " Jeff King
2021-01-28  6:32 ` [PATCH 4/4] t0000: consistently use single quotes for outer tests Jeff King
  -- strict thread matches above, loose matches on Subject: below --
2020-11-20  0:14 [PATCH 1/2] tests: make sure nested lazy prereqs work reliably Jeff King
2020-11-20  0:17 ` [PATCH 1/4] t0000: keep clean-up tests together Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).