mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision ade06500869396f7a46b95bc3553af4ca9c07f31
This commit is contained in:
parent
9a0404ac5f
commit
ed390a659c
51 changed files with 531 additions and 1075 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue