Permalink
Browse files

Add exit code when running all tests with iptest.

  • Loading branch information...
1 parent 34e2283 commit 508ca214ffadcea8433a07e657f8e68d9c624131 @takluyver committed May 24, 2011
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 508ca21

Please sign in to comment.