Debian Codegraph @

src/bin/pg_test_fsync/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 test_fsync_sources = files(
4 'pg_test_fsync.c',
5 )
6
7 if host_system == 'windows'
8 test_fsync_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'pg_test_fsync',
10 '--FILEDESC', 'pg_test_fsync - test various disk sync methods'])
11 endif
12
13 pg_test_fsync = executable('pg_test_fsync',
14 test_fsync_sources,
15 dependencies: [frontend_code],
16 kwargs: default_bin_args,
17 )
18 bin_targets += pg_test_fsync
19
20 tests += {
21 'name': 'pg_test_fsync',
22 'sd': meson.current_source_dir(),
23 'bd': meson.current_build_dir(),
24 'tap': {
25 'tests': [
26 't/001_basic.pl',
27 ],
28 },
29 }
30
31 subdir('po', if_found: libintl)