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

Unified Diff: master/skia_master_scripts/factory.py

Issue 313203003: on CompareGMs failure, show link to most recent results on this builder (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | slave/skia_slave_scripts/compare_gms.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: master/skia_master_scripts/factory.py
diff --git a/master/skia_master_scripts/factory.py b/master/skia_master_scripts/factory.py
index 19d0f327aaa40f08c2c318c89cad5faa6c710308..e1d0484d5b271ea4e591abc624b4aa3067cda183 100644
--- a/master/skia_master_scripts/factory.py
+++ b/master/skia_master_scripts/factory.py
@@ -43,6 +43,9 @@ _COMPILE_STEP_PREFIX = 'Build'
_COMPILE_RETRY_PREFIX = 'Retry_' + _COMPILE_STEP_PREFIX
_COMPILE_NO_WERR_PREFIX = 'Retry_NoWarningsAsErrors_' + _COMPILE_STEP_PREFIX
+# EPOGER: how can I share this definition with compare_gms.py?
borenet 2014/06/05 14:36:10 global_variables.json.
+LATEST_GM_FAILURES_PREAMBLE = 'View latest GM failures for this builder at: '
+
class SkiaFactory(BuildFactory):
"""Encapsulates data and methods common to the Skia master.cfg files."""
@@ -531,6 +534,9 @@ class SkiaFactory(BuildFactory):
"""Compare the actually-generated GM images to the checked-in baselines."""
self.AddSlaveScript(script='compare_gms.py',
description='CompareGMs',
+ get_props_from_stdout={
epoger 2014/06/04 21:55:11 Unfortunately, this doesn't work. https://github.
borenet 2014/06/05 14:36:10 We can probably change the logic in master/skia_ma
epoger 2014/06/05 15:08:43 Ultimately, my vision is of something like http://
+ 'latest_gm_failures_url':
+ '%s(\w+)' % LATEST_GM_FAILURES_PREAMBLE},
is_rebaseline_step=True)
def CompareRenderedSKPs(self):
« no previous file with comments | « no previous file | slave/skia_slave_scripts/compare_gms.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698