[tracker/direct-access: 37/39] libtracker-sparql, libtracker-bus: Fix default update-blank method



commit aa3314dcb0e7902749358350a2d9364c56c3b397
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Jul 26 10:42:42 2010 +0200

    libtracker-sparql, libtracker-bus: Fix default update-blank method

 tests/functional-tests/default-update-test.vala |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/default-update-test.vala b/tests/functional-tests/default-update-test.vala
index 54914f1..59ec0e8 100644
--- a/tests/functional-tests/default-update-test.vala
+++ b/tests/functional-tests/default-update-test.vala
@@ -1,7 +1,14 @@
 int
 main( string[] args )
 {
-	TestApp app = new TestApp (Tracker.Sparql.Connection.get());
+	int res = -1;
 
-	return app.run ();
+	try {
+		TestApp app = new TestApp (Tracker.Sparql.Connection.get());
+		res = app.run();
+	} catch (Tracker.Sparql.Error e) {
+		warning ("Couldn't perform test: %s", e.message);
+	}
+
+	return res;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]