mirror of https://github.com/python/cpython.git
Backout of changeset 228fd2bd83a5 by Nadeem Vawda in branch 'default':
Issue #12804: Prevent "make test" from using network resources.
This commit is contained in:
parent
0b1d348990
commit
87ae0a2804
|
@ -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,-network,-urlfetch,-audio,-gui'])
|
||||
args.extend(['-u', 'all,-largefile,-audio,-gui'])
|
||||
args.extend(regrtest_args)
|
||||
print(' '.join(args))
|
||||
os.execv(sys.executable, args)
|
||||
|
|
Loading…
Reference in New Issue