23 lines
426 B
Meson
23 lines
426 B
Meson
|
|
||
|
test_units = [
|
||
|
'test-canonicalization',
|
||
|
'test-shift'
|
||
|
]
|
||
|
|
||
|
includes = [top_inc, include_directories('../../panels/printers')]
|
||
|
cflags = '-DTEST_SRCDIR="@0@"'.format(meson.current_source_dir())
|
||
|
|
||
|
foreach unit: test_units
|
||
|
exe = executable(
|
||
|
unit,
|
||
|
[unit + '.c'],
|
||
|
include_directories: includes,
|
||
|
dependencies: common_deps,
|
||
|
link_with: [printers_panel_lib],
|
||
|
c_args: cflags
|
||
|
)
|
||
|
|
||
|
test(unit, exe)
|
||
|
endforeach
|
||
|
|