| From: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
|---|---|
| To: | Alexandre Felipe <o(dot)alexandre(dot)felipe(at)gmail(dot)com> |
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org, Michael Paquier <michael(at)paquier(dot)xyz>, Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Subject: | Re: pg_regress: schedule multi-line test groups |
| Date: | 2026-11-22 21:15:52 |
| Message-ID: | CAN4CZFM1zohsCiG-Gg8Y413o_ux+OOzxfq29FHgQdx3N=pxDEQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> 0001 is similar to v2, but uses `\` for line continuation.
>
> 0002 computes group concurrency like v2 and measure regression concurrency.
>
> 0003 implements the same behaviour but reading the schedule file
> as a dependency graph.
Wouldn't it be better to first discuss 0001, and leave 2-5 for later?
0005 seems to cause test failures, exactly the way Daniel mentioned it
earlier:
> There is a bit complexity to it than just picking from a pool since there are inter-suite dependencies.
0001:
+ name = pg_malloc(len + 1);
+ strncpy(name, s->p, len);
+ s->p += len;
/bin/sh: 1: cannot open .../src/test/regress/sql/charjU.sql: No such file
/bin/sh: 1: cannot open .../src/test/regress/sql/int2^E.sql: No such file
this is later fixed in 0003
+ /* scan one single test name */
+ for (len = 0; len < sizeof(s->buf) ; ++len)
+ {
+ if (s->p[len] < '-' || s->p[len] > 'z')
+ break;
The grammar comment says test-name = [^ \t\n\r\\#]+, but the code uses
a byte range:
* test: a+b, test: café, test: a,b and test: a~ all worked on master
and now fail with expected test name or '(' but got "+b<newline>";
* a\b is still accepted as a name, although the comment excludes \
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Manu | 2026-11-23 00:44:20 | Re: Use an index scan in RemoveSubscriptionRel() |
| Previous Message | Alexandre Felipe | 2026-11-22 20:17:49 | Re: pg_regress: schedule multi-line test groups |