postgres.git / summary / log / commit / refs

commit    493398de2c4ec69fefa4a60b5d41d0f8632f521e
Author:   Andres Freund <andres@anarazel.de>
Date:     Tue Feb 04 22:45:56 2025 +0000
First released in: 18.0, 17.3

    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@eisentraut.org>
    Author: Andres Freund <andres@anarazel.de>
    Discussion: https://postgr.es/m/CAGECzQSvM3iSDmjF+=Kof5an6jN8UbkP_4cKKT9w6GZavmb5yQ@mail.gmail.com
    Discussion: https://postgr.es/m/bdba588f-69a9-4f3e-9b95-62d07210a32e@eisentraut.org
    Backpatch: 17-, where test_json_parser was added


src/test/modules/test_json_parser/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/modules/test_json_parser/meson.build b/src/test/modules/test_json_parser/meson.build index b224f3e07e2..edff0d26854 100644 --- a/src/test/modules/test_json_parser/meson.build +++ b/src/test/modules/test_json_parser/meson.build @@ -49,5 +49,9 @@ tests += { 't/003_test_semantic.pl', 't/004_test_parser_perf.pl' ], + 'deps': [ + test_json_parser_incremental, + test_json_parser_perf, + ], }, } [parent: f52bc2388277]