Re: List TAP test files in makefiles - Mailing list pgsql-hackers

From Andres Freund
Subject Re: List TAP test files in makefiles
Date
Msg-id qgzdehvwsdhmlyy2ousx4qqp7zkz6enm2xywqkj2lfxisu7iws@o3s42pnhhmp3
Whole thread Raw
In response to Re: List TAP test files in makefiles  (Andrey Borodin <x4mmm@yandex-team.ru>)
Responses Re: List TAP test files in makefiles
List pgsql-hackers
Hi,

On 2025-08-23 11:57:37 +0500, Andrey Borodin wrote:
> I agree that this difference between meson and autotools builds is kind of problematic.
> 
> > On 23 Aug 2025, at 11:09, Peter Eisentraut <peter@eisentraut.org> wrote:
> > 
> > The obvious solution is to also require the makefiles to list TAP files explicitly, which is what I'm proposing
here.
> 
> 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.  You could do it by
running prove to run the tap tests, like make does, but that would
considerably slow down the tests, as prove has either no parallelism or
independent parallelism from the make's (or ninjas).

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Changing gssencmode default in Psycopg
Next
From: Tom Lane
Date:
Subject: Re: List TAP test files in makefiles