mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Add unittest structure.
No tests, just everything to add tests later.
This commit is contained in:
15
test/meson.build
Normal file
15
test/meson.build
Normal 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
|
Reference in New Issue
Block a user