aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_oat_hooks/meson.build
blob: 1e600b0f4c7d07c6790ada29571ead6cb03e20e1 (plain)
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
# Copyright (c) 2022-2025, PostgreSQL Global Development Group

test_oat_hooks_sources = files(
  'test_oat_hooks.c',
)

if host_system == 'windows'
  test_oat_hooks_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
    '--NAME', 'test_oat_hooks',
    '--FILEDESC', 'test_oat_hooks - example use of object access hooks',])
endif

test_oat_hooks = shared_module('test_oat_hooks',
  test_oat_hooks_sources,
  kwargs: pg_test_mod_args,
)
test_install_libs += test_oat_hooks

tests += {
  'name': 'test_oat_hooks',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'regress': {
    'sql': [
      'test_oat_hooks',
      'alter_table',
    ],
    'regress_args': ['--no-locale', '--encoding=UTF8'],
    'runningcheck': false,
  },
}