summaryrefslogtreecommitdiffstats
path: root/unit/meson.build
blob: 7e0e87848f983d9270b29b435596f42ebaf183fe (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# SPDX-License-Identifier: GPL-2.0-or-later

test_uint128 = executable(
    'test-uint128',
    ['test-uint128.c', '../util/types.c', '../util/suffix.c'],
    include_directories: [incdir, '..'],
    dependencies: [libnvme_dep],
)

test('uint128', test_uint128)

test_suffix_si_parse = executable(
    'test-suffix-si-parse',
    ['test-suffix-si-parse.c', '../util/suffix.c'],
    include_directories: [incdir, '..'],
    dependencies: [libnvme_dep],
)

test('suffix_si_parse', test_suffix_si_parse)

test_suffix_binary_parse = executable(
    'test-suffix-binary-parse',
    ['test-suffix-binary-parse.c', '../util/suffix.c'],
    include_directories: [incdir, '..'],
    dependencies: [libnvme_dep],
)

test('suffix_binary_parse', test_suffix_binary_parse)

test_uint128_si = executable(
    'test-uint128-si',
    ['test-uint128-si.c', '../util/types.c', '../util/suffix.c'],
    include_directories: [incdir, '..'],
    dependencies: [libnvme_dep],
)

test('uint128-si', test_uint128_si)

test_argconfig_parse = executable(
    'test-argconfig-parse',
    ['test-argconfig-parse.c', '../util/argconfig.c', '../util/suffix.c'],
    include_directories: [incdir, '..'],
    dependencies: [libnvme_dep],
)

test('argconfig_parse', test_argconfig_parse)