mirror of https://github.com/djcb/mu.git
lib/tests: move tests to parent
Otherwise, the coverage checker won't notice them!
This commit is contained in:
parent
015a7ee0cb
commit
d89820b26b
|
@ -67,4 +67,18 @@ lib_test_mu_common_dep=declare_dependency(
|
|||
include_directories: include_directories(['tests']))
|
||||
|
||||
# actual tests
|
||||
|
||||
test('test-threads',
|
||||
executable('test-threads',
|
||||
'mu-query-threads.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_dep, lib_test_mu_common_dep]))
|
||||
test('test-contacts-cache',
|
||||
executable('test-contacts-cache',
|
||||
'mu-contacts-cache.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_dep, lib_test_mu_common_dep]))
|
||||
|
||||
subdir('tests')
|
||||
|
|
|
@ -43,18 +43,6 @@ test('test-tokenizer',
|
|||
'test-tokenizer.cc',
|
||||
install: false,
|
||||
dependencies: [glib_dep, lib_mu_dep, lib_test_mu_common_dep]))
|
||||
test('test-threads',
|
||||
executable('test-threads',
|
||||
'../mu-query-threads.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_dep, lib_test_mu_common_dep]))
|
||||
test('test-contacts-cache',
|
||||
executable('test-contacts-cache',
|
||||
'../mu-contacts-cache.cc',
|
||||
install: false,
|
||||
cpp_args: ['-DBUILD_TESTS'],
|
||||
dependencies: [glib_dep, lib_mu_dep, lib_test_mu_common_dep]))
|
||||
|
||||
test('test-parser',
|
||||
executable('test-parser',
|
||||
|
|
Loading…
Reference in New Issue