Debian Codegraph @

contrib/test_decoding/meson.build

raw
1 # Copyright (c) 2022-2025, PostgreSQL Global Development Group
2
3 test_decoding_sources = files(
4 'test_decoding.c',
5 )
6
7 if host_system == 'windows'
8 test_decoding_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
9 '--NAME', 'test_decoding',
10 '--FILEDESC', 'test_decoding - example of a logical decoding output plugin',])
11 endif
12
13 test_decoding = shared_module('test_decoding',
14 test_decoding_sources,
15 kwargs: contrib_mod_args,
16 )
17 contrib_targets += test_decoding
18
19 tests += {
20 'name': 'test_decoding',
21 'sd': meson.current_source_dir(),
22 'bd': meson.current_build_dir(),
23 'regress': {
24 'sql': [
25 'ddl',
26 'xact',
27 'rewrite',
28 'toast',
29 'permissions',
30 'decoding_in_xact',
31 'decoding_into_rel',
32 'binary',
33 'prepared',
34 'replorigin',
35 'time',
36 'messages',
37 'spill',
38 'slot',
39 'truncate',
40 'stream',
41 'stats',
42 'twophase',
43 'twophase_stream',
44 ],
45 'regress_args': [
46 '--temp-config', files('logical.conf'),
47 ],
48 # Disabled because these tests require "wal_level=logical", which
49 # typical runningcheck users do not have (e.g. buildfarm clients).
50 'runningcheck': false,
51 },
52 'isolation': {
53 'specs': [
54 'mxact',
55 'delayed_startup',
56 'ondisk_startup',
57 'catalog_change_snapshot',
58 'concurrent_ddl_dml',
59 'oldest_xmin',
60 'snapshot_transfer',
61 'subxact_without_top',
62 'concurrent_stream',
63 'twophase_snapshot',
64 'slot_creation_error',
65 'skip_snapshot_restore',
66 'invalidation_distribution',
67 ],
68 'regress_args': [
69 '--temp-config', files('logical.conf'),
70 ],
71 # see above
72 'runningcheck': false,
73 },
74 'tap': {
75 'tests': [
76 't/001_repl_stats.pl',
77 ],
78 },
79 }