diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2012-09-10 11:35:02 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2012-09-24 18:59:37 -0700 |
commit | 557eb524f0da37373795407ad63517f7ddf59d3f (patch) | |
tree | efafe0f7d1e80df4283f0c53ae4077eb81f809a7 | |
parent | e0be91a4c9804828f4a2531cfdb785ff978e10cf (diff) |
Exit correctly so test.py can be used in CI
(cherry picked from commit d516fe71ea1d8bdb7b2e278fa519f7f860d7e234)
-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__': |