Fix reference report regression.

This commit is contained in:
Josh Matthews 2020-05-12 11:40:51 -04:00 committed by GitHub
parent c5617efff0
commit ea6523ef62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ def main(source, commit_sha=None):
if commit_sha: if commit_sha:
title = "<h1>Layout 2020 regressions in commit <code>%s</code></h1>" % commit_sha title = "<h1>Layout 2020 regressions in commit <code>%s</code></h1>" % commit_sha
failures_2013 = {url for url, _ in failing_reftests("linux_x64", source)} failures_2013 = {url for url, _, _ in failing_reftests("linux_x64", source)}
for url, _expected_pass, screenshots in failing_reftests("linux_x64_2020", source): for url, _expected_pass, screenshots in failing_reftests("linux_x64_2020", source):
if url not in failures_2013: if url not in failures_2013:
failures.add(url, screenshots) failures.add(url, screenshots)