gnome-control-center/tests/common/meson.build

23 lines
468 B
Meson
Raw Normal View History

2020-05-07 20:37:47 +05:30
test_units = [
'test-hostname',
# 'test-time-entry', # FIXME
]
cflags = [
'-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir()),
'-DTEST_TOPSRCDIR="@0@"'.format(meson.source_root())
]
2020-05-07 20:37:47 +05:30
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