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



commit 3c0bd79262f90a0db22dbecff229f4a5e12a856a
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]