summaryrefslogtreecommitdiff
path: root/src/test/modules/test_cloexec/meson.build
blob: 63c8658b04e99fcdebe08477fe286aa2fd8af5ae (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
# src/test/modules/test_cloexec/meson.build

# This test is Windows-only
if host_system != 'windows'
  subdir_done()
endif

test_cloexec_sources = files('test_cloexec.c')

test_cloexec = executable('test_cloexec',
  test_cloexec_sources,
  dependencies: [frontend_code],
  link_with: [pgport[''], pgcommon['']],
  kwargs: default_bin_args,
)

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