Mercurial > cpython-lru_cache-weakref
diff Tools/scripts/run_tests.py @ 72018:228fd2bd83a5
Issue #12804: Prevent "make test" from using network resources.
| author | Nadeem Vawda <nadeem.vawda@gmail.com> |
|---|---|
| date | Sun, 21 Aug 2011 16:41:03 +0200 |
| parents | 03d439f4ec5c |
| children | 7fabd75a6ae4 |
line wrap: on
line diff
--- a/Tools/scripts/run_tests.py Sun Aug 21 14:30:00 2011 +0200 +++ b/Tools/scripts/run_tests.py Sun Aug 21 16:41:03 2011 +0200 @@ -37,7 +37,7 @@ 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): - args.extend(['-u', 'all,-largefile,-audio,-gui']) + args.extend(['-u', 'all,-largefile,-network,-urlfetch,-audio,-gui']) args.extend(regrtest_args) print(' '.join(args)) os.execv(sys.executable, args)
