Add unittest structure.

No tests, just everything to add tests later.
This commit is contained in:
Matthieu Gautier
2018-05-14 17:38:28 +02:00
parent e9ab074b5d
commit 433a47c3fe
326 changed files with 153199 additions and 0 deletions

15
test/meson.build Normal file
View File

@ -0,0 +1,15 @@
tests = [
]
gtest_dep = dependency('gtest', fallback: ['gtest', 'gtest_dep'])
foreach test_name : tests
test_exe = executable(test_name, [test_name+'.cpp'],
link_with : kiwixlib,
dependencies : all_deps + [gtest_dep],
build_rpath : '$ORIGIN')
test(test_name, test_exe)
endforeach