Re: how to run the equivalent of 'make install check-world' with meson

From: Andres Freund <andres(at)anarazel(dot)de>
To: Pierre Forstmann <pierre(dot)forstmann(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: how to run the equivalent of 'make install check-world' with meson
Date: 2026-08-26 14:52:00
Message-ID: ms56wqqeczf5lyux3h7kf5jqc7ewzutw565dzlmysdkbbmtaiq@vvfk2jfpvhhe
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2026-08-26 16:33:46 +0200, Pierre Forstmann wrote:
> I'm tring to run the equivalent of "make installcheck-world" with meson.
>
> According to https://wiki.postgresql.org/wiki/Meson?utm_source=chatgpt.com:
>
> I have tried:
>
> meson test -C build -q --print-errorlogs --setup running
>
> But these tests fails because it looks like that test extensions are not
> installed:

If you want to have the "test only extensions" installed, you need to do
"ninja install-test-files". They otherwise do not get installed - many of them
are in fact *NOT SAFE* to install in an installation that's used for anything
other than testing. Not required e.g. for the the base regression tests, as
they don't require test-only extensions.

Greetings,

Andres Freund

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Nidzwetzki 2026-08-26 14:52:36 Re: [PATCH] Add tests for src/backend/nodes/extensible.c
Previous Message David Rowley 2026-08-26 14:46:23 Re: apply worker misses closing partition leaves