From: Zachary Ware Date: Mon, 7 Jul 2014 20:07:46 +0000 (-0500) Subject: Issue #21907: Exit with the correct return code X-Git-Tag: v3.5.0a1~1322 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=69d2d013f19c238fecb259f197d6e7203cd38031;p=thirdparty%2FPython%2Fcpython.git Issue #21907: Exit with the correct return code --- diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py index b451a75e79bb..b582e1325093 100644 --- a/Tools/scripts/run_tests.py +++ b/Tools/scripts/run_tests.py @@ -50,7 +50,7 @@ def main(regrtest_args): print(' '.join(args)) if sys.platform == 'win32': from subprocess import call - call(args) + sys.exit(call(args)) else: os.execv(sys.executable, args)