[geary/wip/intermittitent-ci-test-failures-redux] Enable loging for engine tests
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/intermittitent-ci-test-failures-redux] Enable loging for engine tests
- Date: Thu, 14 Feb 2019 02:01:00 +0000 (UTC)
commit 968ea009f69c7fba6a2dd28cb15b7d1b215fe8cf
Author: Michael Gratton <mike vee net>
Date: Thu Feb 14 11:45:01 2019 +1100
Enable loging for engine tests
test/test-engine.vala | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/test/test-engine.vala b/test/test-engine.vala
index 8186fa1d..129ecf3a 100644
--- a/test/test-engine.vala
+++ b/test/test-engine.vala
@@ -1,5 +1,5 @@
/*
- * Copyright 2016-2018 Michael Gratton <mike vee net>
+ * Copyright 2016-2019 Michael Gratton <mike vee net>
*
* This software is licensed under the GNU Lesser General Public License
* (version 2.1 or later). See the COPYING file in this distribution.
@@ -12,9 +12,13 @@ int main(string[] args) {
Test.init(ref args);
+ Geary.Logging.init();
+ Geary.Logging.init();
+ Geary.Logging.log_to(stderr);
+ GLib.Log.set_default_handler(Geary.Logging.default_handler);
+
Geary.RFC822.init();
Geary.HTML.init();
- Geary.Logging.init();
/*
* Hook up all tests into appropriate suites
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]