summaryrefslogtreecommitdiffstats
path: root/tests/printers/meson.build
blob: 60f144fa6aa21c824096f9794e0944218d74d613 (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-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