On Tue, Feb 20, 2024 at 9:32 PM Andrew Dunstan <and...@dunslane.net> wrote: > *sigh* That's weird. I wonder why you can reproduce it and I can't. Can > you give me details of the build? OS, compiler, path to source, build > setup etc.? Anything that might be remotely relevant.
Sure: - guest VM running in UTM (QEMU 7.2) is Ubuntu 22.04 for ARM, default core count, 8GB - host is macOS Sonoma 14.3.1, Apple Silicon (M3 Pro), 36GB - it's a Meson build (plus a diff for the test utilities, attached, but that's hopefully not relevant to the failure) - buildtype=debug, optimization=g, cassert=true - GCC 11.4 - build path is nested a bit (~/src/postgres/worktree-inc-json/build-dev) --Jacob
commit 0075a88beec160cbb408d9a1e0a11d836fb55bdf Author: Jacob Champion <jacob.champ...@enterprisedb.com> Date: Wed Feb 21 06:36:55 2024 -0800 WIP: mesonify diff --git a/src/test/modules/meson.build b/src/test/modules/meson.build index 8fbe742d38..e5c9bd10cf 100644 --- a/src/test/modules/meson.build +++ b/src/test/modules/meson.build @@ -21,6 +21,7 @@ subdir('test_dsm_registry') subdir('test_extensions') subdir('test_ginpostinglist') subdir('test_integerset') +subdir('test_json_parser') subdir('test_lfind') subdir('test_misc') subdir('test_oat_hooks') diff --git a/src/test/modules/test_json_parser/meson.build b/src/test/modules/test_json_parser/meson.build new file mode 100644 index 0000000000..42eb670864 --- /dev/null +++ b/src/test/modules/test_json_parser/meson.build @@ -0,0 +1,39 @@ +# Copyright (c) 2024, PostgreSQL Global Development Group + +test_json_parser_incremental_sources = files( + 'test_json_parser_incremental.c', +) + +if host_system == 'windows' + test_json_parser_incremental_sources += rc_bin_gen.process(win32ver_rc, extra_args: [ + '--NAME', 'test_json_parser_incremental', + '--FILEDESC', 'standalone json parser tester', + ]) +endif + +test_json_parser_incremental = executable('test_json_parser_incremental', + test_json_parser_incremental_sources, + dependencies: [frontend_code], + kwargs: default_bin_args + { + 'install': false, + }, +) + +test_json_parser_perf_sources = files( + 'test_json_parser_perf.c', +) + +if host_system == 'windows' + test_json_parser_perf_sources += rc_bin_gen.process(win32ver_rc, extra_args: [ + '--NAME', 'test_json_parser_perf', + '--FILEDESC', 'standalone json parser tester', + ]) +endif + +test_json_parser_perf = executable('test_json_parser_perf', + test_json_parser_perf_sources, + dependencies: [frontend_code], + kwargs: default_bin_args + { + 'install': false, + }, +)