[Python-checkins] cpython: Issue #21907: Exit with the correct return code

zach.ware python-checkins at python.org
Mon Jul 7 22:11:23 CEST 2014


http://hg.python.org/cpython/rev/f0a5be139717
changeset:   91596:f0a5be139717
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Mon Jul 07 15:07:46 2014 -0500
summary:
  Issue #21907: Exit with the correct return code

files:
  Tools/scripts/run_tests.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -50,7 +50,7 @@
     print(' '.join(args))
     if sys.platform == 'win32':
         from subprocess import call
-        call(args)
+        sys.exit(call(args))
     else:
         os.execv(sys.executable, args)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list