mirror of
https://github.com/postgres/postgres.git
synced 2026-03-12 21:54:00 -04:00
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
47 lines
1.1 KiB
Meson
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
|
|
},
|
|
}
|