mirror of
https://github.com/benhoyt/inih.git
synced 2025-01-28 22:52:54 +08:00
11 lines
403 B
Meson
11 lines
403 B
Meson
|
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
|