Cut unnecessary log handler for key-file test.
authorTravis Reitter <travis.reitter@collabora.co.uk>
Tue, 11 Jan 2011 00:10:41 +0000 (16:10 -0800)
committerTravis Reitter <travis.reitter@collabora.co.uk>
Tue, 11 Jan 2011 06:21:04 +0000 (22:21 -0800)
Helps bgo#639195 - Print stack traces for failed tests to improve
remote debugging

tests/key-file/individual-retrieval.vala

index 3994222..f385689 100644 (file)
@@ -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<string> expected_individuals = new HashSet<string> (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;