summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNadeem Vawda <nadeem.vawda@gmail.com>2011-08-21 14:41:03 (GMT)
committerNadeem Vawda <nadeem.vawda@gmail.com>2011-08-21 14:41:03 (GMT)
commit08aa3c0235e41666bbbb3a0a4f884b84641563f4 (patch)
tree85b2c4a2decc58ae13f8b0e04f4877e0928b6aeb
parentc5efe65df319ce881ec358e6854bd37ef026a651 (diff)
downloadcpython-08aa3c0235e41666bbbb3a0a4f884b84641563f4.zip
cpython-08aa3c0235e41666bbbb3a0a4f884b84641563f4.tar.gz
cpython-08aa3c0235e41666bbbb3a0a4f884b84641563f4.tar.bz2
Issue #12804: Prevent "make test" from using network resources.
-rwxr-xr-xTools/scripts/run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/run_tests.py b/Tools/scripts/run_tests.py
index f750e19..59f6c2a 100755
--- a/Tools/scripts/run_tests.py
+++ b/Tools/scripts/run_tests.py
@@ -37,7 +37,7 @@ def main(regrtest_args):
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)