Move routines to manipulate WAL into PostgreSQL::Test::Cluster
[pgsql.git] / src / bin / pg_archivecleanup / meson.build
blob7590cecee3442927bcd04fafaf9938d8fc8c0244
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
3 pg_archivecleanup_sources = files(
4   'pg_archivecleanup.c',
7 if host_system == 'windows'
8   pg_archivecleanup_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
9     '--NAME', 'pg_archivecleanup',
10     '--FILEDESC', 'pg_archivecleanup - cleans archive when used with streaming replication',])
11 endif
13 pg_archivecleanup = executable('pg_archivecleanup',
14   pg_archivecleanup_sources,
15   dependencies: [frontend_code],
16   kwargs: default_bin_args,
18 bin_targets += pg_archivecleanup
20 tests += {
21   'name': 'pg_archivecleanup',
22   'sd': meson.current_source_dir(),
23   'bd': meson.current_build_dir(),
24   'tap': {
25     'tests': [
26       't/010_pg_archivecleanup.pl',
27     ],
28   },
31 subdir('po', if_found: libintl)