1 # Copyright (c) 2022-2024, PostgreSQL Global Development Group
3 if not get_option('injection_points')
7 injection_points_sources = files(
10 'injection_stats_fixed.c',
13 if host_system == 'windows'
14 injection_points_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
15 '--NAME', 'injection_points',
16 '--FILEDESC', 'injection_points - facility for injection points',])
19 injection_points = shared_module('injection_points',
20 injection_points_sources,
21 kwargs: pg_test_mod_args,
23 test_install_libs += injection_points
25 test_install_data += files(
26 'injection_points.control',
27 'injection_points--1.0.sql',
31 'name': 'injection_points',
32 'sd': meson.current_source_dir(),
33 'bd': meson.current_build_dir(),
39 'regress_args': ['--dlpath', meson.build_root() / 'src/test/regress'],
40 # The injection points are cluster-wide, so disable installcheck
41 'runningcheck': false,
51 'enable_injection_points': get_option('injection_points') ? 'yes' : 'no',