Skip to content

Commit 7f0a6dd

Browse files
committed
Use -n for tests under Windows
1 parent 6e5222d commit 7f0a6dd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Tools/scripts/run_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def main(regrtest_args):
3232
'-r', # Randomize test order
3333
'-w', # Re-run failed tests in verbose mode
3434
])
35+
if sys.platform == 'win32':
36+
args.append('-n') # Silence alerts under Windows
3537
if not any(is_multiprocess_flag(arg) for arg in regrtest_args):
3638
args.extend(['-j', '0']) # Use all CPU cores
3739
if not any(is_resource_use_flag(arg) for arg in regrtest_args):

0 commit comments

Comments
 (0)