diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-07-07 20:07:46 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-07-07 20:07:46 (GMT) |
commit | 69d2d013f19c238fecb259f197d6e7203cd38031 (patch) | |
tree | 5696985707684d603187cdc90d32bac8be2f9655 | |
parent | e03de09ff2206dc87c8f39de765dd1e1de0a867d (diff) | |
download | cpython-69d2d013f19c238fecb259f197d6e7203cd38031.zip cpython-69d2d013f19c238fecb259f197d6e7203cd38031.tar.gz cpython-69d2d013f19c238fecb259f197d6e7203cd38031.tar.bz2 |
Issue #21907: Exit with the correct return code
-rw-r--r-- | 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 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) |