Re: meson missing test dependencies

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: meson missing test dependencies
Date: 2024-12-02 19:27:37
Message-ID: 84d7dbee-45e6-4252-88e9-4d5a643a7cf4@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02.12.24 11:50, Nazir Bilal Yavuz wrote:
> I applied your patches and the cube example worked. But when I edited
> 'test_json_parser_perf.c' and 'test_json_parser_incremental.c', meson
> did not rebuild. I used the 'meson test -C build --suite setup --suite
> test_json_parser' command to test test_json_parser. Did I do something
> wrong?

Seems to work for me. I edited test_json_parser_incremental.c and then ran

$ meson test -C build --suite setup --suite test_json_parser -v
ninja: Entering directory `/Users/peter/devel/postgresql/postgresql/build'
[2/2] Linking target
src/test/modules/test_json_parser/test_json_parser_incremental
1/7 postgresql:setup / tmp_install
RUNNING
...

Without my patch, you don't get the "Linking target ..." output.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-12-02 19:33:57 Re: sunsetting md5 password support
Previous Message Thomas Munro 2024-12-02 19:25:56 Re: Remove useless casts to (void *)