Re: meson missing test dependencies - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: meson missing test dependencies
Date
Msg-id 84d7dbee-45e6-4252-88e9-4d5a643a7cf4@eisentraut.org
Whole thread Raw
In response to Re: meson missing test dependencies  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Responses Re: meson missing test dependencies
List 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.





pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Remove useless casts to (void *)
Next
From: Nathan Bossart
Date:
Subject: Re: sunsetting md5 password support