Add data for WAL in pg_stat_io and backend statistics
[pgsql.git] / contrib / amcheck / meson.build
blob61d7eaf2305d7e3359a83934367ebf867baf541f
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
3 amcheck_sources = files(
4   'verify_heapam.c',
5   'verify_nbtree.c',
8 if host_system == 'windows'
9   amcheck_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
10     '--NAME', 'amcheck',
11     '--FILEDESC', 'amcheck - function for verifying relation integrity',])
12 endif
14 amcheck = shared_module('amcheck',
15   amcheck_sources,
16   kwargs: contrib_mod_args,
18 contrib_targets += amcheck
20 install_data(
21   'amcheck.control',
22   'amcheck--1.0.sql',
23   'amcheck--1.0--1.1.sql',
24   'amcheck--1.1--1.2.sql',
25   'amcheck--1.2--1.3.sql',
26   'amcheck--1.3--1.4.sql',
27   kwargs: contrib_data_args,
30 tests += {
31   'name': 'amcheck',
32   'sd': meson.current_source_dir(),
33   'bd': meson.current_build_dir(),
34   'regress': {
35     'sql': [
36       'check',
37       'check_btree',
38       'check_heap',
39     ],
40   },
41   'tap': {
42     'tests': [
43       't/001_verify_heapam.pl',
44       't/002_cic.pl',
45       't/003_cic_2pc.pl',
46       't/004_verify_nbtree_unique.pl',
47       't/005_pitr.pl',
48     ],
49   },