Permalink
Browse files

Merge pull request #469 from takluyver/exit-code

Add exit code when running all tests with iptest.
  • Loading branch information...
takluyver committed May 25, 2011
2 parents 465bef9 + d3e497a commit 465180e8da36ec725b5cd4f0bad0afff6ac06a0b
Showing with 2 additions and 0 deletions.
  1. +2 −0 IPython/testing/iptest.py
@@ -425,6 +425,8 @@ def run_iptestall():
print 'You may wish to rerun this one individually, with:'
print ' '.join(failed_runner.call_args)
print
+ # Ensure that our exit code indicates failure
+ sys.exit(1)
def main():

0 comments on commit 465180e

Please sign in to comment.