diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2018-07-02 17:41:03 +0200 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2018-07-02 17:41:22 +0200 |
commit | 3ec1c3236c58103d473d6073c68c0897f941c6b9 (patch) | |
tree | 5aba870d8c8b6e2ce3dc666a462c936140e8e85f | |
parent | 730f967e9472e57cfbdc074c79f30f135296245f (diff) | |
download | tracker-3ec1c3236c58103d473d6073c68c0897f941c6b9.tar.gz |
functional-tests: Return correct (non-zero) exit code if subprocess crashes
-rw-r--r-- | tests/functional-tests/common/utils/helpers.py | 2 |
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): |