summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2018-07-02 17:41:03 +0200
committerSam Thursfield <sam@afuera.me.uk>2018-07-02 17:41:22 +0200
commit3ec1c3236c58103d473d6073c68c0897f941c6b9 (patch)
tree5aba870d8c8b6e2ce3dc666a462c936140e8e85f
parent730f967e9472e57cfbdc074c79f30f135296245f (diff)
downloadtracker-3ec1c3236c58103d473d6073c68c0897f941c6b9.tar.gz
functional-tests: Return correct (non-zero) exit code if subprocess crashes
-rw-r--r--tests/functional-tests/common/utils/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional-tests/common/utils/helpers.py b/tests/functional-tests/common/utils/helpers.py
index 95e48401b..63605e55c 100644
--- a/tests/functional-tests/common/utils/helpers.py
+++ b/tests/functional-tests/common/utils/helpers.py
@@ -74,7 +74,7 @@ class Helper:
def new_hook(etype, evalue, etb):
old_hook(etype, evalue, etb)
GLib.MainLoop.quit(loop)
- sys.exit()
+ sys.exit(1)
sys.excepthook = new_hook
def _start_process (self):