Re: List TAP test files in makefiles

From: Andres Freund <andres(at)anarazel(dot)de>
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: 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:02:32
Message-ID: qgzdehvwsdhmlyy2ousx4qqp7zkz6enm2xywqkj2lfxisu7iws@o3s42pnhhmp3
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)eisentraut(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-08-23 14:17:59 Re: List TAP test files in makefiles
Previous Message Daniele Varrazzo 2025-08-23 11:26:49 Changing gssencmode default in Psycopg