-
Notifications
You must be signed in to change notification settings - Fork 3
/
meson.build
46 lines (40 loc) · 1.26 KB
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
percona_pg_telemetry_sources = files(
'pt_json.c',
'percona_pg_telemetry.c',
)
if host_system == 'windows'
percona_pg_telemetry_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
'--NAME', 'percona_pg_telemetry',
'--FILEDESC', 'percona_pg_telemetry - extension for Percona telemetry data collection',])
endif
percona_pg_telemetry = shared_module('percona_pg_telemetry',
percona_pg_telemetry_sources,
kwargs: contrib_mod_args + {
'dependencies': contrib_mod_args['dependencies'],
},
)
contrib_targets += percona_pg_telemetry
install_data(
'percona_pg_telemetry.control',
'percona_pg_telemetry--1.0.sql',
kwargs: contrib_data_args,
)
tests += {
'name': 'percona_pg_telemetry',
'sd': meson.current_source_dir(),
'bd': meson.current_build_dir(),
'regress': {
'sql': [
'basic',
'debug_json',
'gucs',
],
'regress_args': ['--temp-config', files('percona_pg_telemetry.conf')],
# Disabled because these regression tests require the lib to be added to
# shared preload libraries, which typical installcheck users do not have.
# Disabled because these regression tests require the lib to be
# added to shared preload libraries, which typical installcheck
# users do not have.
'runningcheck': false,
},
}