diff options
Diffstat (limited to 'test.py')
-rwxr-xr-x | test.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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__': |