summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/run_tests.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-08-16 18:02:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-08-16 18:02:26 (GMT)
commit7f0a6ddb9001bc71748b8e47cdf07f72414799bf (patch)
treecd759a31cf9ab53ed954309e377ffd3449e447ed /Tools/scripts/run_tests.py
parent6e5222d5f87b5e34a1d039f86e5e71d89419cdc1 (diff)
downloadcpython-7f0a6ddb9001bc71748b8e47cdf07f72414799bf.zip
cpython-7f0a6ddb9001bc71748b8e47cdf07f72414799bf.tar.gz
cpython-7f0a6ddb9001bc71748b8e47cdf07f72414799bf.tar.bz2
Use -n for tests under Windows
Diffstat (limited to 'Tools/scripts/run_tests.py')
-rwxr-xr-xTools/scripts/run_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index d8f5ac3..f750e19 100755
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -32,6 +32,8 @@ def main(regrtest_args):
'-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):