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

Unified Diff: telemetry/telemetry/internal/story_runner.py

Issue 2626373004: [WPR] Implement platform dependent recordings for WPR archives. (Closed)
Patch Set: Rebase 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
« no previous file with comments | « no previous file | telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/story_runner.py
diff --git a/telemetry/telemetry/internal/story_runner.py b/telemetry/telemetry/internal/story_runner.py
index 6a9e943a6db4abb06b370438cde704272d420bec..e97d3944d112d05c36df4a00c24275b77089efbe 100644
--- a/telemetry/telemetry/internal/story_runner.py
+++ b/telemetry/telemetry/internal/story_runner.py
@@ -208,8 +208,7 @@ def Run(test, story_set, finder_options, results, max_failures=None,
cloud_storage.GetFilesInDirectoryIfChanged(directory,
story_set.bucket)
if story_set.archive_data_file and not _UpdateAndCheckArchives(
- story_set.archive_data_file, story_set.wpr_archive_info,
- stories):
+ story_set.archive_data_file, story_set.wpr_archive_info, stories):
return
if not stories:
@@ -408,6 +407,7 @@ def _UpdateAndCheckArchives(archive_data_file, wpr_archive_info,
'.gclient using http://goto/read-src-internal, '
'or create a new archive using record_wpr.')
raise ArchiveError('No archive info file.')
+ # Downloads archives for all platforms.
wpr_archive_info.DownloadArchivesIfNeeded()
# Report any problems with individual story.
« no previous file with comments | « no previous file | telemetry/telemetry/page/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698