summaryrefslogtreecommitdiffstats
path: root/tests/info/meson.build
blob: 0f5d7a9165c71cedff8c0aaacfe3149a37353103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test_units = [
  'test-info-cleanup'
]

includes = [top_inc, include_directories('../../panels/info-overview')]
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 : [info_panel_lib],
                 c_args : cflags
  )

  test(unit, exe)
endforeach