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

Unified Diff: tools/telemetry/telemetry/test_runner.py

Issue 601713002: [telemetry] Only run reference builds on desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/telemetry/telemetry/test_runner.py
diff --git a/tools/telemetry/telemetry/test_runner.py b/tools/telemetry/telemetry/test_runner.py
index 4fd7f9dcd3da956b647775c3a6e21814417f9cee..0e2770a443a35021c1b22c29b995cbcf09c08af8 100644
--- a/tools/telemetry/telemetry/test_runner.py
+++ b/tools/telemetry/telemetry/test_runner.py
@@ -89,8 +89,12 @@ class List(command_line.OptparseCommand):
def Run(self, args):
if args.json_output_file:
possible_browser = browser_finder.FindBrowser(args)
- args.browser_type = 'reference'
- possible_reference_browser = browser_finder.FindBrowser(args)
+ if args.browser_type in (
+ 'exact', 'release', 'release_x64', 'debug', 'debug_x64', 'canary'):
+ args.browser_type = 'reference'
+ possible_reference_browser = browser_finder.FindBrowser(args)
+ else:
+ possible_reference_browser = None
with open(args.json_output_file, 'w') as f:
f.write(_GetJsonTestList(possible_browser, possible_reference_browser,
args.tests, args.num_shards))
« 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