[tracker/wip/sam/meson-functional-tests: 9/10] functional-tests: Detect disabled journal correctly



commit 7e25f9eaa7f548eeba24cd74f5d45e23a18d33b8
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Wed Nov 1 18:05:34 2017 +0000

    functional-tests: Detect disabled journal correctly

 meson.build |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6f27176..c3bd4d3 100644
--- a/meson.build
+++ b/meson.build
@@ -225,6 +225,13 @@ conf.set('prefix', get_option('prefix'))
 conf.set('TRACKER_API_VERSION', tracker_api_version)
 conf.set('VERSION', meson.project_version())
 
+# Special one for the functional tests
+if get_option('journal') == true
+  conf.set('DISABLE_JOURNAL_TRUE', '#')
+else
+  conf.set('DISABLE_JOURNAL_TRUE', '')
+endif
+
 configure_file(input: 'config.h.meson.in',
                output: 'config.h',
                configuration: conf)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]