summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/run_tests.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-07 20:07:46 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-07-07 20:07:46 (GMT)
commit69d2d013f19c238fecb259f197d6e7203cd38031 (patch)
tree5696985707684d603187cdc90d32bac8be2f9655 /Tools/scripts/run_tests.py
parente03de09ff2206dc87c8f39de765dd1e1de0a867d (diff)
downloadcpython-69d2d013f19c238fecb259f197d6e7203cd38031.zip
cpython-69d2d013f19c238fecb259f197d6e7203cd38031.tar.gz
cpython-69d2d013f19c238fecb259f197d6e7203cd38031.tar.bz2
Issue #21907: Exit with the correct return code
Diffstat (limited to 'Tools/scripts/run_tests.py')
-rw-r--r--Tools/scripts/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index b451a75..b582e13 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)