| From: | Alexandre Felipe <o(dot)alexandre(dot)felipe(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Subject: | Re: pg_regress: schedule multi-line test groups |
| Date: | 2026-11-24 09:46:27 |
| Message-ID: | CAE8JnxNwL3ZGyHX5H+kboa20u6SiW1W1s9dVKqT4nyRZOdv5JA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, Nov 23, 2026 at 11:05 PM Michael Paquier <michael(at)paquier(dot)xyz>
wrote:
> Really? I don't buy that. This kind of grammar is allows in
> makefiles for years.
Hi Michael,
Could you expand what you mean.
Makefiles work with a dependency graph by defining rules as
target ":" dependency+ newline action
That is how you can run `make -j` and still get the right output.
> Just supporting this addition would make, I
> suppose, the patch much simpler.
>
Can you give an example of how you would write the schedule
My proposal:
+ test sequentially: rangetypes (multirangetypes strings) type_sanity
Makefile grammar (assuming target name to be the test and dropping the
action)
+ all: type_sanity
+ type_sanity multirangetypes strings
+ multirangetypes: rangetypes
+ strings: rangetypes
This enables one to model any dependency graph. But it is more complex.
On the schedule file, names are duplicated.
On the parser name lookup is required.
Could you please share some examples in a language you have in mind?
Regards,
Alexandre
| From | Date | Subject | |
|---|---|---|---|
| Next Message | vignesh C | 2026-11-24 09:50:16 | Re: Fix a wrong comment in UpdateDeadTupleRetentionStatus() |
| Previous Message | Daniel Gustafsson | 2026-11-24 09:25:59 | Re: Fix a wrong comment in UpdateDeadTupleRetentionStatus() |