Re: List TAP test files in makefiles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: List TAP test files in makefiles
Date: 2025-08-23 14:17:59
Message-ID: 2258672.1755958679@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2025-08-23 11:57:37 +0500, Andrey Borodin wrote:
>> What is the downside of the approach where meson uses t/*.pl wildcard?

> In meson you can't do wildcards at "configure" time, since wildcards do not
> allow reliable detection of when re-configure is needed.

But ... what "re-configuration" is needed when adding a new test file?

This proposed fix adds more manual maintenance effort, and I really
doubt that it will do much to solve the ostensible problem that
people forget to update the meson.build files. We should be striving
to make the meson system as easy to use as autoconf/make, not trying
to attain parity by making the latter experience worse.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-08-23 14:22:11 Re: Adding REPACK [concurrently]
Previous Message Andres Freund 2025-08-23 14:02:32 Re: List TAP test files in makefiles