| Index: slave/skia_slave_scripts/compare_gms.py
|
| diff --git a/slave/skia_slave_scripts/compare_gms.py b/slave/skia_slave_scripts/compare_gms.py
|
| index 90804deda6619e90ad1b15c608d7dffdce2b34eb..691bf12d3dd77ed7b23e974632fc67f7fc865184 100644
|
| --- a/slave/skia_slave_scripts/compare_gms.py
|
| +++ b/slave/skia_slave_scripts/compare_gms.py
|
| @@ -13,6 +13,12 @@ from build_step import BuildStep, BuildStepWarning
|
| from utils import misc
|
| import run_gm
|
|
|
| +LIVE_REBASELINE_SERVER_BASEURL = (
|
| + 'http://skia-tree-status.appspot.com/redirect/rebaseline-server/'
|
| + 'static/view.html#/view.html')
|
| +# EPOGER: how can I share this definition with factory.py?
|
| +LATEST_GM_FAILURES_PREAMBLE = 'View latest GM failures for this builder at: '
|
| +
|
| class CompareGMs(BuildStep):
|
| def _Run(self):
|
| json_summary_path = misc.GetAbsPath(os.path.join(
|
| @@ -24,7 +30,11 @@ class CompareGMs(BuildStep):
|
| # This import must happen after BuildStep.__init__ because it requires that
|
| # CWD is in PYTHONPATH, and BuildStep.__init__ may change the CWD.
|
| from gm import display_json_results
|
| - if not display_json_results.Display(json_summary_path):
|
| + success = display_json_results.Display(json_summary_path)
|
| + print '%s%s?resultsToLoad=/results/failures&builder=%s' % (
|
| + LATEST_GM_FAILURES_PREAMBLE, LIVE_REBASELINE_SERVER_BASEURL,
|
| + self._builder_name)
|
| + if not success:
|
| if self._builder_name in may_fail_with_warning:
|
| raise BuildStepWarning('Expectations mismatch in %s!' %
|
| json_summary_path)
|
|
|