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

Unified Diff: tools/telemetry/telemetry/page/results_options.py

Issue 27413002: [telemetry] Upload results to cloud storage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unit test. Created 7 years, 2 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 | « tools/telemetry/telemetry/page/page_runner_unittest.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/page/results_options.py
diff --git a/tools/telemetry/telemetry/page/results_options.py b/tools/telemetry/telemetry/page/results_options.py
index dde90167e3f9c25307538ef4f51fcdc7cf23feff..6c8f2f15db55583221bf6b30094ce0629e330b90 100644
--- a/tools/telemetry/telemetry/page/results_options.py
+++ b/tools/telemetry/telemetry/page/results_options.py
@@ -35,6 +35,8 @@ def AddResultsOptions(parser):
help='Append a tag to the key of each result trace.')
group.add_option('--reset-results', action='store_true',
help='Delete all stored results.')
+ group.add_option('--upload-results', action='store_true',
+ help='Upload the results to cloud storage.')
parser.add_option_group(group)
@@ -76,7 +78,8 @@ def PrepareResults(test, options):
elif options.output_format == 'html':
return html_page_measurement_results.HtmlPageMeasurementResults(
output_stream, test.__class__.__name__, options.reset_results,
- options.browser_type, trace_tag=options.output_trace_tag)
+ options.upload_results, options.browser_type,
+ trace_tag=options.output_trace_tag)
else:
# Should never be reached. The parser enforces the choices.
raise Exception('Invalid --output-format "%s". Valid choices are: %s'
« no previous file with comments | « tools/telemetry/telemetry/page/page_runner_unittest.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698