Re: meson missing test dependencies - Mailing list pgsql-hackers

From Andres Freund
Subject Re: meson missing test dependencies
Date
Msg-id nd4c22jnlldpoanke7otnuaxyhlha6bbdd35j4rbgxyhrvsfns@vxfb3yraxjli
Whole thread Raw
In response to Re: meson missing test dependencies  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Hi,

On 2024-12-09 16:06:18 +0100, Peter Eisentraut wrote:
> On 07.12.24 21:45, Andres Freund wrote:
> > If a test target does not have ay dependency 'meson test' treats it has having
> > a dependency on the project default test. Which in turn currently includes
> > everything that will be installed, i.e. everything that tmp_install might
> > need. But that's not something I think we should rely on going forward.
> 
> I don't understand this.  What is the project default test?

Oops, default target, not test.


> I don't find any documentation about this default dependency.  (Not
> everything like that tends to be documented, but do you have a source code
> reference or a GH issue?)

https://github.com/mesonbuild/meson/blob/83253cdbaa8afd268286ca06520ca1cf2095dd28/mesonbuild/mtest.py#L2164C1-L2175C74

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: meson missing test dependencies
Next
From: "David G. Johnston"
Date:
Subject: Re: Document NULL