aboutsummaryrefslogtreecommitdiff
path: root/src/test/modules/test_int128/meson.build
blob: 4c2be7a0326f71889df3d3feb841972032a1cc73 (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
32
33
# Copyright (c) 2025, PostgreSQL Global Development Group

test_int128_sources = files(
  'test_int128.c',
)

if host_system == 'windows'
  test_int128_sources += rc_bin_gen.process(win32ver_rc, extra_args: [
    '--NAME', 'test_int128',
    '--FILEDESC', 'test int128 program',])
endif

test_int128 = executable('test_int128',
  test_int128_sources,
  dependencies: [frontend_code, libpq],
  kwargs: default_bin_args + {
    'install': false,
  },
)
testprep_targets += test_int128


tests += {
  'name': 'test_int128',
  'sd': meson.current_source_dir(),
  'bd': meson.current_build_dir(),
  'tap': {
    'tests': [
      't/001_test_int128.pl',
    ],
    'deps': [test_int128],
  },
}