summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-07-07 18:39:59 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-07-07 18:39:59 (GMT)
commite12fa657447c91356b3c52dac9b1e4da937bd26c (patch)
tree3013b95e11de6fb2e2769e791a1810ebdef9ee1c /Tools/scripts
parentb132069ea45329c30a7caa067f6f5ed0285c8c88 (diff)
downloadcpython-e12fa657447c91356b3c52dac9b1e4da937bd26c.zip
cpython-e12fa657447c91356b3c52dac9b1e4da937bd26c.tar.gz
cpython-e12fa657447c91356b3c52dac9b1e4da937bd26c.tar.bz2
Issue #21907: Improved the batch scripts provided for building Python.
The user-facing scripts in PCbuild have been updated to be easier to use and the buildbot scripts in Tools\buildbot have been updated to use the user-facing scripts in PCbuild wherever possible.
Diffstat (limited to 'Tools/scripts')
-rw-r--r--Tools/scripts/run_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index 490a37e..b451a75 100644
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -48,7 +48,11 @@ def main(regrtest_args):
args.extend(['-u', 'all,-largefile,-audio,-gui'])
args.extend(regrtest_args)
print(' '.join(args))
- os.execv(sys.executable, args)
+ if sys.platform == 'win32':
+ from subprocess import call
+ call(args)
+ else:
+ os.execv(sys.executable, args)
if __name__ == '__main__':