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

Unified Diff: Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py

Issue 439433003: The generated archived_results.json must have relative link to the results.html in the same folder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py b/Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py
index ce1199c6290842c669402dac7c40b881277b83d5..5210596a454b59cd5d9f5af8e7905003c98f5a80 100644
--- a/Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py
+++ b/Tools/Scripts/webkitpy/layout_tests/generate_results_dashboard.py
@@ -99,6 +99,7 @@ class GenerateDashBoard(object):
def _add_individual_result_links(self, results_directories):
archived_results_file_list = [(file + '/results.html') for file in results_directories]
+ archived_results_file_list.insert(0, 'results.html')
self._current_result_json_dict['result_links'] = archived_results_file_list
def _copy_dashboard_html(self):
@@ -119,10 +120,10 @@ class GenerateDashBoard(object):
input_json_string = file.readline()
input_json_string = input_json_string[12:-2] # Remove preceeding string ADD_RESULTS( and ); at the end
self._current_result_json_dict['tests'] = json.loads(input_json_string)['tests']
+ results_directories = results_directories[1:]
# To add hyperlink to individual results.html
self._add_individual_result_links(results_directories)
- results_directories = results_directories[1:]
# Load the remaining stale layout test results Json's to create the dashboard
for json_file in results_directories:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698