summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund2025-02-04 22:45:56 +0000
committerAndres Freund2025-02-04 22:56:19 +0000
commit1be5c37372432d88925d4bc6ab08b1249b558a8f (patch)
treec75c1d0762c9bacea05e0b6188ccfe7ad2e5cbe4
parent69b05d581eca97fd4de5860cd91ea457fcbfd161 (diff)
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 <[email protected]> Author: Andres Freund <[email protected]> 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
-rw-r--r--src/test/modules/test_json_parser/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/modules/test_json_parser/meson.build b/src/test/modules/test_json_parser/meson.build
index a1a97adc1f5..5672045f496 100644
--- a/src/test/modules/test_json_parser/meson.build
+++ b/src/test/modules/test_json_parser/meson.build
@@ -61,5 +61,10 @@ tests += {
't/003_test_semantic.pl',
't/004_test_parser_perf.pl'
],
+ 'deps': [
+ test_json_parser_incremental,
+ test_json_parser_incremental_shlib,
+ test_json_parser_perf,
+ ],
},
}