[geary/wip/intermittitent-ci-test-failures-redux: 2/3] 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: 2/3] Enable loging for engine tests
- Date: Thu, 14 Feb 2019 02:56:26 +0000 (UTC)
commit 1c87e1fb9996f3e30e47d42fa10769dc00d93898
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]