[gxml] * set only level ERROR to fatal so we can have uninterrupted run of test code.
- From: Richard Hans Schwarting <rschwart src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gxml] * set only level ERROR to fatal so we can have uninterrupted run of test code.
- Date: Thu, 5 Jul 2012 21:14:24 +0000 (UTC)
commit 95032d31b4b95d86c22d98ef8225cbacc3055a47
Author: Richard Schwarting <aquarichy gmail com>
Date: Thu Jul 5 17:12:55 2012 -0400
* set only level ERROR to fatal so we can have uninterrupted run of test code.
test/GXmlTest.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/test/GXmlTest.vala b/test/GXmlTest.vala
index 1f4dbcf..ef5003b 100644
--- a/test/GXmlTest.vala
+++ b/test/GXmlTest.vala
@@ -13,6 +13,10 @@ class GXmlTest {
CharacterDataTest.add_tests ();
ValaLibxml2Test.add_tests ();
XmlSerializableTest.add_tests ();
+
+ // Prevent WARNING from aborting the test suite
+ GLib.Log.set_always_fatal (GLib.LogLevelFlags.LEVEL_ERROR);
+
Test.run ();
return 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]