summaryrefslogtreecommitdiff
path: root/plparse/tests/meson.build
blob: f6a56b8b9e485db29c560a367e09085f24a637cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
test_cargs = ['-DTEST_SRCDIR="@0@/"'.format(meson.current_source_dir())]

tests = ['parser', 'disc']

foreach test_name : tests
  exe = executable(test_name, '@0@.c'.format(test_name),
                   c_args: test_cargs,
                   include_directories: [config_inc, totemlib_inc],
                   dependencies: plparser_dep)

  env = environment()
  test(test_name, exe, env: env, timeout: 3 * 60)
endforeach