From: Travis Reitter Date: Tue, 11 Jan 2011 00:10:41 +0000 (-0800) Subject: Cut unnecessary log handler for key-file test. X-Git-Tag: FOLKS_0_3_4~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=38672fd3e8c8001099a4d1451a16f26ab71337ab;p=platform%2Fupstream%2Ffolks.git Cut unnecessary log handler for key-file test. Helps bgo#639195 - Print stack traces for failed tests to improve remote debugging --- diff --git a/tests/key-file/individual-retrieval.vala b/tests/key-file/individual-retrieval.vala index 3994222..f385689 100644 --- a/tests/key-file/individual-retrieval.vala +++ b/tests/key-file/individual-retrieval.vala @@ -34,14 +34,6 @@ public class IndividualRetrievalTests : Folks.TestCase "__alias=Bar McBadgerson\n" + "jabber=bar@jabber.org\n"); - /* Ignore the error caused by not running the logger */ - Test.log_set_fatal_handler ((d, l, m) => - { - return !m.has_suffix ("couldn't get list of favourite individuals: " + - "The name org.freedesktop.Telepathy.Logger was not provided by " + - "any .service files"); - }); - /* Create a set of the individuals we expect to see */ HashSet expected_individuals = new HashSet (str_hash, str_equal); @@ -91,14 +83,6 @@ public class IndividualRetrievalTests : Folks.TestCase "__alias=Brian Briansson\n" + "msn=foo@hotmail.com\n"); - /* Ignore the error caused by not running the logger */ - Test.log_set_fatal_handler ((d, l, m) => - { - return !m.has_suffix ("couldn't get list of favourite individuals: " + - "The name org.freedesktop.Telepathy.Logger was not provided by " + - "any .service files"); - }); - /* Set up the aggregator */ var aggregator = new IndividualAggregator (); uint individuals_changed_count = 0;