[tracker/sam/tracker-2.3-developer-experience: 22/45] functional-tests: Report failures in tests/ipc/test-insert-or-replace
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/sam/tracker-2.3-developer-experience: 22/45] functional-tests: Report failures in tests/ipc/test-insert-or-replace
- Date: Wed, 2 Oct 2019 11:55:28 +0000 (UTC)
commit 9e8f5ff087135b43e7ef3fe994ebaf6d8dbc418b
Author: Sam Thursfield <sam afuera me uk>
Date: Sat Sep 14 14:02:15 2019 +0200
functional-tests: Report failures in tests/ipc/test-insert-or-replace
This test needs to set the correct exitcode.
tests/functional-tests/ipc/test-insert-or-replace.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/functional-tests/ipc/test-insert-or-replace.vala
b/tests/functional-tests/ipc/test-insert-or-replace.vala
index ce64eecbe..78ba81c58 100644
--- a/tests/functional-tests/ipc/test-insert-or-replace.vala
+++ b/tests/functional-tests/ipc/test-insert-or-replace.vala
@@ -148,9 +148,9 @@ int main (string[] args) {
print ("ORIGINAL : %u contacts: %f\n", y, timer.elapsed());
}
+ return 0;
} catch (GLib.Error e) {
critical ("%s", e.message);
+ return 1;
}
-
- return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]