postgresql/src/test/modules/injection_points/meson.build
Noah Misch eca456edc1 Disable runningcheck for src/test/modules/injection_points/specs.
Directory "injection_points" has specified NO_INSTALLCHECK since before
commit c35f419d6e added the specs, but
that commit neglected to disable the corresponding meson runningcheck.
The alternative would be to enable "make installcheck" for ISOLATION,
but the GNU make build system lacks a concept of setting NO_INSTALLCHECK
for REGRESS without also setting it for ISOLATION.  Back-patch to v17,
where that commit first appeared, to avoid surprises when back-patching
additional specs.

Discussion: https://postgr.es/m/17821-dd8c334263399284@postgresql.org
2025-01-25 11:28:18 -08:00

47 lines
1.1 KiB
Meson

# Copyright (c) 2022-2024, PostgreSQL Global Development Group
if not get_option('injection_points')
subdir_done()
endif
injection_points_sources = files(
'injection_points.c',
)
if host_system == 'windows'
injection_points_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
'--NAME', 'injection_points',
'--FILEDESC', 'injection_points - facility for injection points',])
endif
injection_points = shared_module('injection_points',
injection_points_sources,
kwargs: pg_test_mod_args,
)
test_install_libs += injection_points
test_install_data += files(
'injection_points.control',
'injection_points--1.0.sql',
)
tests += {
'name': 'injection_points',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'regress': {
'sql': [
'injection_points',
'reindex_conc',
],
'regress_args': ['--dlpath', meson.build_root() / 'src/test/regress'],
# The injection points are cluster-wide, so disable installcheck
'runningcheck': false,
},
'isolation': {
'specs': [
'inplace',
],
'runningcheck': false, # align with GNU make build system
},
}