File: meson.build

package info (click to toggle)
phosh-osk-stub 0.46.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,132 kB
  • sloc: ansic: 11,191; xml: 1,567; python: 142; makefile: 15; sh: 10
file content (17 lines) | stat: -rw-r--r-- 523 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if get_option('tests')

  test_env = environment()
  test_env.set('G_DEBUG', 'gc-friendly,fatal-warnings')
  test_env.set('MALLOC_CHECK_', '2')
  test_env.set('NO_AT_BRIDGE', '1')
  test_env.set('GSETTINGS_BACKEND', 'memory')

  tests = ['grab-word', 'load-layouts', 'capitalize-by-template', 'osk-widget']

  foreach name : tests
    name = 'test-@0@'.format(name)
    test = executable(name, '@0@.c'.format(name), pie: true, dependencies: libpos_dep)
    test('@0@'.format(name), test, env: test_env)
  endforeach

endif