blob: 54b4ee0d9d269396f6110c358d347a6ac5a8e1f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
test_unit = 'test-keyfile'
test_keyfiles_dir = join_paths(meson.current_source_dir(), 'keyfiles')
cflags = [
'-DTEST_KEYFILES_DIR="@0@"'.format(test_keyfiles_dir),
'-DTEST_SCRATCH_DIR="@0@"'.format(test_keyfiles_dir)
]
exe = executable(
test_unit,
test_unit + '.c',
dependencies: test_nm_dep,
c_args: cflags
)
test(
'keyfile/' + test_unit,
test_script,
args: test_args + [exe.full_path()]
)
|