[tracker/sam/tracker-2.3-developer-experience: 15/38] 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: 15/38] functional-tests: Report failures in tests/ipc/test-insert-or-replace
- Date: Wed, 2 Oct 2019 20:18:34 +0000 (UTC)
commit 6e1a1015ba71ad8d5ad1bed8d0ae424616c907fd
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]