22 lines
484 B
Meson
22 lines
484 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
|
|
|