File: meson.build

package info (click to toggle)
libhinawa 4.0.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 540 kB
  • sloc: ansic: 1,901; python: 690; javascript: 5; makefile: 5
file content (26 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
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
tests = [
  'fw-node',
  'fw-req',
  'fw-resp',
  'fw-fcp',
  'cycle-time',
  'hinawa-enum',
  'hinawa-functions',
]


builddir = join_paths(meson.project_build_root(), 'src')

envs = environment()
envs.append('LD_LIBRARY_PATH', builddir, separator : ':')
envs.append('GI_TYPELIB_PATH', builddir, separator : ':')

foreach test : tests
    name = test
    script = test
    prog = find_program(script)
    test(name, prog,
      env: envs,
      depends: hinawa_gir,
    )
endforeach