Update web-platform-tests to revision ade06500869396f7a46b95bc3553af4ca9c07f31

This commit is contained in:
WPT Sync Bot 2018-10-17 21:30:21 -04:00
parent 9a0404ac5f
commit ed390a659c
51 changed files with 531 additions and 1075 deletions

View file

@ -31,10 +31,12 @@ def find_wptreport(args):
return parser.parse_known_args(args)[0].log_wptreport
def gzip_file(filename):
def gzip_file(filename, delete_original=True):
with open(filename, 'rb') as f_in:
with gzip.open('%s.gz' % filename, 'wb') as f_out:
shutil.copyfileobj(f_in, f_out)
if delete_original:
os.unlink(filename)
def main(product, commit_range, wpt_args):
@ -67,9 +69,8 @@ def main(product, commit_range, wpt_args):
logger.info("Running all tests")
wpt_args += [
"--log-tbpl=../artifacts/log_tbpl.log",
"--log-tbpl-level=info",
"--log-mach=-",
"--log-tbpl=-",
"-y",
"--no-pause",
"--no-restart-on-unexpected",