pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: ci: ensure tests are built before running them
Date: Tue, 04 Feb 2025 23:19:14 +0000
Message-ID: <E1tfSCI-005POU-8G@gemulon.postgresql.org> (raw)

meson: ci: ensure tests are built before running them

Meson 1.7 stopped building all the dependencies of tests as part of the
default build target. But it does breaks CI because we only built the default
target before running the test, and ran the tests with --no-rebuild.

The simplest fix would be to remove --no-rebuild from MTEST_ARGS, but it seems
better to explicitly build the test dependencies, so compiler warnings /
errors are visible as part of the build step.

Discussion: https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.com
Backpatch: 16-, where meson was added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b2bdb972c0df3b7091e39d1a31484e5e065519f4

Modified Files
--------------
.cirrus.tasks.yml | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)



view thread (3+ messages)

Message-ID: <E1tfSCI-005POU-8G@gemulon.postgresql.org>
Permalink:  ../E1tfSCI-005POU-8G@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tfSCI-005POU-8G@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: meson: ci: ensure tests are built before running them
  In-Reply-To: <E1tfSCI-005POU-8G@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox