mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
The generated resource files aren't exactly the same ones as the old buildsystems generate. Previously "InternalName" and "OriginalFileName" were mostly wrong / not set (despite being required), but that was hard to fix in at least the make build. Additionally, the meson build falls back to a "auto-generated" description when not set, and doesn't set it in a few cases - unlikely that anybody looks at these descriptions in detail. Author: Andres Freund <andres@anarazel.de> Author: Nazir Bilal Yavuz <byavuz81@gmail.com> Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
70 lines
1.4 KiB
Meson
70 lines
1.4 KiB
Meson
test_decoding_sources = files(
|
|
'test_decoding.c',
|
|
)
|
|
|
|
if host_system == 'windows'
|
|
test_decoding_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
|
|
'--NAME', 'test_decoding',
|
|
'--FILEDESC', 'test_decoding - example of a logical decoding output plugin',])
|
|
endif
|
|
|
|
test_decoding = shared_module('test_decoding',
|
|
test_decoding_sources,
|
|
kwargs: contrib_mod_args,
|
|
)
|
|
contrib_targets += test_decoding
|
|
|
|
tests += {
|
|
'name': 'test_decoding',
|
|
'sd': meson.current_source_dir(),
|
|
'bd': meson.current_build_dir(),
|
|
'regress': {
|
|
'sql': [
|
|
'ddl',
|
|
'xact',
|
|
'rewrite',
|
|
'toast',
|
|
'permissions',
|
|
'decoding_in_xact',
|
|
'decoding_into_rel',
|
|
'binary',
|
|
'prepared',
|
|
'replorigin',
|
|
'time',
|
|
'messages',
|
|
'spill',
|
|
'slot',
|
|
'truncate',
|
|
'stream',
|
|
'stats',
|
|
'twophase',
|
|
'twophase_stream',
|
|
],
|
|
'regress_args': [
|
|
'--temp-config', files('logical.conf'),
|
|
],
|
|
},
|
|
'isolation': {
|
|
'specs': [
|
|
'mxact',
|
|
'delayed_startup',
|
|
'ondisk_startup',
|
|
'concurrent_ddl_dml',
|
|
'oldest_xmin',
|
|
'snapshot_transfer',
|
|
'subxact_without_top',
|
|
'concurrent_stream',
|
|
'twophase_snapshot',
|
|
'slot_creation_error',
|
|
],
|
|
'regress_args': [
|
|
'--temp-config', files('logical.conf'),
|
|
],
|
|
},
|
|
'tap': {
|
|
'tests': [
|
|
't/001_repl_stats.pl',
|
|
],
|
|
},
|
|
}
|