blob: 05500924903323dd62ae3df687fcf7d058dbce21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
test_units = [
'test-hostname',
# 'test-time-entry', # FIXME
]
cflags = [
'-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
'-DTEST_TOPSRCDIR="@0@"'.format(meson.source_root())
]
foreach unit: test_units
exe = executable(
unit,
unit + '.c',
include_directories : [ top_inc, common_inc ],
dependencies : common_deps + [libwidgets_dep],
c_args : cflags,
)
test(unit, exe)
endforeach
|