[tracker/sam/test-fixes] 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/test-fixes] functional-tests: Report failures in	tests/ipc/test-insert-or-replace
- Date: Sat, 14 Sep 2019 12:05:56 +0000 (UTC)
commit c3898063e5a61f14bd15c7cacc20e5abc11c2a9a
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]