pgsql: meson: Add test dependencies for test_json_parser

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Add test dependencies for test_json_parser
Date: 2025-02-04 23:19:14
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Add test dependencies for test_json_parser

This is required to ensure correct test dependencies, previously
the test binaries would not necessarily be built.

The missing dependency was, e.g., visible when doing
ninja clean && ninja meson-test-prereq && m test --no-rebuild --suite setup --suite test_json_parser

Apply this to all branches with meson support, as part of an effort to fix
incorrect test dependencies that can lead to test failures.

Author: Peter Eisentraut <peter(at)eisentraut(dot)org>
Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.com
Discussion: https://postgr.es/m/[email protected]
Backpatch: 17-, where test_json_parser was added

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/493398de2c4ec69fefa4a60b5d41d0f8632f521e

Modified Files
--------------
src/test/modules/test_json_parser/meson.build | 4 ++++
1 file changed, 4 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2025-02-05 03:41:08 pgsql: Avoid updating inactive_since for invalid replication slots.
Previous Message Alexander Korotkov 2025-02-04 22:47:02 pgsql: pg_controldata: Fix possible errors on corrupted pg_control