]> granicus.if.org Git - python/commitdiff
Issue #21907: Exit with the correct return code
authorZachary Ware <zachary.ware@gmail.com>
Mon, 7 Jul 2014 20:07:46 +0000 (15:07 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Mon, 7 Jul 2014 20:07:46 +0000 (15:07 -0500)
Tools/scripts/run_tests.py

index b451a75e79bb9eb276b00a6a638647b8139fe1fd..b582e132509317586a17ec33c13d83951effe8ba 100644 (file)
@@ -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)