| 1 |
# Copyright (c) 2022-2025, PostgreSQL Global Development Group |
| 2 |
|
| 3 |
test_custom_rmgrs_sources = files( |
| 4 |
'test_custom_rmgrs.c', |
| 5 |
) |
| 6 |
|
| 7 |
if host_system == 'windows' |
| 8 |
test_custom_rmgrs_sources += rc_lib_gen.process(win32ver_rc, extra_args: [ |
| 9 |
'--NAME', 'test_custom_rmgrs', |
| 10 |
'--FILEDESC', 'test_custom_rmgrs - test custom WAL resource managers',]) |
| 11 |
endif |
| 12 |
|
| 13 |
test_custom_rmgrs = shared_module('test_custom_rmgrs', |
| 14 |
test_custom_rmgrs_sources, |
| 15 |
kwargs: pg_test_mod_args, |
| 16 |
) |
| 17 |
test_install_libs += test_custom_rmgrs |
| 18 |
|
| 19 |
test_install_data += files( |
| 20 |
'test_custom_rmgrs.control', |
| 21 |
'test_custom_rmgrs--1.0.sql', |
| 22 |
) |
| 23 |
|
| 24 |
tests += { |
| 25 |
'name': 'test_custom_rmgrs', |
| 26 |
'sd': meson.current_source_dir(), |
| 27 |
'bd': meson.current_build_dir(), |
| 28 |
'tap': { |
| 29 |
'tests': [ |
| 30 |
't/001_basic.pl', |
| 31 |
], |
| 32 |
}, |
| 33 |
} |