File: meson.build

package info (click to toggle)
libinih 61-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 496 kB
  • sloc: ansic: 745; cpp: 228; makefile: 68; sh: 62
file content (10 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
runtest = files(join_paths(meson.project_source_root(), 'tests', 'runtest.sh'))

tests = {
  'INIReaderExample': { 'args': [] },
}

foreach name, properties : tests
  exe = executable('unittest_' + name, src_inih, src_INIReader, 'INIReaderExample.cpp', cpp_args : ['-Wall', properties['args']])
  test('test_' + name, runtest, depends : [exe], args : [files('cpptest.txt'), exe.full_path()])
endforeach