Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/check_stability.py

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/check_stability.py
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/check_stability.py b/third_party/WebKit/LayoutTests/imported/wpt/check_stability.py
index 421f8cb1820fa888ab44875f61eaae5279da8fa2..b8ede389240fb76943e670c1081b4b43e437559b 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/check_stability.py
+++ b/third_party/WebKit/LayoutTests/imported/wpt/check_stability.py
@@ -536,14 +536,19 @@ def write_results(results, iterations, comment_pr):
except ValueError:
pass
if pr_number:
- logger.info("### [%s](%s/%s%s) ###" % (test, baseurl, pr_number, test))
+ logger.info("<details>\n")
+ logger.info('<summary><a href="%s/%s%s">%s</a></summary>\n\n' %
+ (baseurl, pr_number, test, test))
else:
logger.info("### %s ###" % test)
parent = test_results.pop(None)
strings = [("", err_string(parent, iterations))]
- strings.extend(((("`%s`" % markdown_adjust(subtest)) if subtest else "", err_string(results, iterations))
+ strings.extend(((("`%s`" % markdown_adjust(subtest)) if subtest
+ else "", err_string(results, iterations))
for subtest, results in test_results.iteritems()))
table(["Subtest", "Results"], strings, logger.info)
+ if pr_number:
+ logger.info("</details>\n")
def get_parser():

Powered by Google App Engine
This is Rietveld 408576698