[geary] Fix compiling tests under Meson.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Fix compiling tests under Meson.
- Date: Tue, 12 Dec 2017 04:57:01 +0000 (UTC)
commit a38a450ae581e16cf1cd4c2e0247e3e5d3b31133
Author: Michael James Gratton <mike vee net>
Date: Tue Dec 12 15:34:41 2017 +1100
Fix compiling tests under Meson.
* test/meson.build: Client tests need both the complied GSettings schema
and GResources, also common Geary compilation arguments.
test/meson.build | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/test/meson.build b/test/meson.build
index aeb4774..a4e77d8 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -26,6 +26,8 @@ geary_test_sources = [
'js/client-page-state-test.vala',
'js/composer-page-state-test.vala',
'js/conversation-page-state-test.vala',
+ geary_compiled_schema,
+ geary_resources
]
geary_test_dependencies = [
@@ -41,7 +43,8 @@ geary_test_dependencies = [
geary_test_bin = executable('geary-test',
geary_test_sources,
dependencies: geary_test_dependencies,
- c_args: geary_c_options,
include_directories: config_h_dir,
+ vala_args: geary_vala_options,
+ c_args: geary_c_options,
)
test('Geary test suite', geary_test_bin)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]