From a15c6996b1aa984dec12771784007bfd1a0d8d93 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Tue, 24 May 2011 13:50:32 +0100 Subject: [PATCH] Add exit code when running all tests with iptest. --- IPython/testing/iptest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index be593dd9f..37217b155 100644 --- a/IPython/testing/iptest.py +++ b/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():