Chromium Code Reviews| Index: scripts/slave/results_dashboard.py |
| diff --git a/scripts/slave/results_dashboard.py b/scripts/slave/results_dashboard.py |
| index c42a8c1ce4e02dbb58c5c00028a66e063117109a..9bb39e4a1daaa46eeda910173d056607b1d616bf 100755 |
| --- a/scripts/slave/results_dashboard.py |
| +++ b/scripts/slave/results_dashboard.py |
| @@ -240,6 +240,11 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername, |
| print 'Error: No json output from telemetry.' |
| print '@@@STEP_FAILURE@@@' |
| + # If benchmark was disabled it is a success, so just return the |
| + # given chart_json since no results will be written to dashboard |
| + if chart_json['disabled']: |
|
perezju
2016/09/22 08:50:27
change this to chart_json.get('disabled', False),
eyaich1
2016/09/26 15:22:11
Done.
|
| + return (True, chart_json) |
|
perezju
2016/09/22 08:50:27
I don't like this change. I think we still want th
eyaich1
2016/09/26 15:22:11
I went with #2. My original thinking was that I r
|
| + |
| # The master name used for the dashboard is the CamelCase name returned by |
| # GetActiveMaster(), and not the canonical master name with dots. |
| master = slave_utils.GetActiveMaster() |
| @@ -271,7 +276,7 @@ def MakeDashboardJsonV1(chart_json, revision_dict, test_name, bot, buildername, |
| 'chart_data': chart_json, |
| 'is_ref': is_ref, |
| } |
| - return fields |
| + return (False, fields) |
| def _GetStdioUriColumn(test_name, buildername, buildnumber): |