File: meson.build

package info (click to toggle)
labwc 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,856 kB
  • sloc: ansic: 32,546; perl: 5,834; xml: 886; sh: 162; python: 131; makefile: 12
file content (28 lines) | stat: -rw-r--r-- 507 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
test_lib = static_library(
  'test_lib',
  sources: files(
    '../src/common/buf.c',
    '../src/common/mem.c',
    '../src/common/string-helpers.c'
  ),
  include_directories: [labwc_inc],
  dependencies: [dep_cmocka],
)

tests = [
  'buf-simple',
  'str',
]

foreach t : tests
  test(
    'test_@0@'.format(t),
    executable(
      'test_@0@'.format(t),
      sources: '@0@.c'.format(t),
      include_directories: [labwc_inc],
      link_with: [test_lib],
    ),
    is_parallel: false,
  )
endforeach