summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/functional-tests/ipc/test-bus-query.vala9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/functional-tests/ipc/test-bus-query.vala b/tests/functional-tests/ipc/test-bus-query.vala
index 1867fed46..d8a198e57 100644
--- a/tests/functional-tests/ipc/test-bus-query.vala
+++ b/tests/functional-tests/ipc/test-bus-query.vala
@@ -4,7 +4,12 @@ using Tracker.Sparql;
int
main( string[] args )
{
- TestApp app = new TestApp (new Tracker.Bus.Connection ());
+ try {
+ TestApp app = new TestApp (new Tracker.Bus.Connection ());
- return app.run ();
+ return app.run ();
+ } catch (GLib.Error e) {
+ warning ("Couldn't perform test: %s", e.message);
+ return 1;
+ }
}