Re: pg_regress: schedule multi-line test groups - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_regress: schedule multi-line test groups
Date
Msg-id aque2pNHYkJC5iyR@paquier.xyz
Whole thread
In response to pg_regress: schedule multi-line test groups  (Alexandre Felipe <o.alexandre.felipe@gmail.com>)
Responses Re: pg_regress: schedule multi-line test groups
List pgsql-hackers
On Thu, Sep 17, 2026 at 08:57:51AM +0100, Alexandre Felipe wrote:
> This was motivated by two rebases on the SLOPE patch [1] this week due to
> changes in parallel_schedule. Also I find much easier to parse the list
> using this syntax, if we stick with one test per line we get the benefit of
> counting tests by looking at the line numbers.
>
> I used a `goto` to keep the number of touched lines small, and facilitate
> your review.

I'd +1 something like that in the schedule files, even if we only
limit the number of tests per line to be up to 20.

+test:
+    boolean
+    char
+    name

At least, let's make the whitespace vs tab policy consistent.  ;)
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alexandre Felipe
Date:
Subject: pg_regress: schedule multi-line test groups
Next
From: David Geier
Date:
Subject: Re: Use correct collation in pg_trgm