[Python-checkins] cpython: Use -n for tests under Windows
antoine.pitrou
python-checkins at python.org
Tue Aug 16 20:04:35 CEST 2011
http://hg.python.org/cpython/rev/03d439f4ec5c
changeset: 71881:03d439f4ec5c
user: Antoine Pitrou <solipsis at pitrou.net>
date: Tue Aug 16 20:02:26 2011 +0200
summary:
Use -n for tests under Windows
files:
Tools/scripts/run_tests.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -32,6 +32,8 @@
'-r', # Randomize test order
'-w', # Re-run failed tests in verbose mode
])
+ if sys.platform == 'win32':
+ args.append('-n') # Silence alerts under Windows
if not any(is_multiprocess_flag(arg) for arg in regrtest_args):
args.extend(['-j', '0']) # Use all CPU cores
if not any(is_resource_use_flag(arg) for arg in regrtest_args):
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list