pgsql: meson: ci: ensure tests are built before running them - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: meson: ci: ensure tests are built before running them
Date
Msg-id E1tfSCI-005POo-Bs@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL_17_STABLE

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

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


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: pg_controldata: Fix possible errors on corrupted pg_control
Next
From: Tom Lane
Date:
Subject: pgsql: Show more-intuitive titles for psql commands \dt, \di, etc.