Issue #12804: Prevent "make test" from using network resources.

This commit is contained in:
Nadeem Vawda 2011-08-21 16:41:03 +02:00
parent c5efe65df3
commit 08aa3c0235

View file

@ -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)