summaryrefslogtreecommitdiffhomepage
path: root/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'test.py')
-rwxr-xr-xtest.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.py b/test.py
index 28ebbdb5..f3dd4d24 100755
--- a/test.py
+++ b/test.py
@@ -148,6 +148,9 @@ def main():
for thread in threading.enumerate():
if thread is not threading.currentThread():
thread._Thread__stop()
+ # Exit correctly
+ if not result.wasSuccessful():
+ sys.exit(1)
if __name__ == '__main__':