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



commit fa00d3cfe636baf9faee4e9c451430e1683a0bc8
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]