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

Unified Diff: scripts/slave/recipe_modules/chromium/api.py

Issue 2485383007: Make perf android tests use devil adb (Closed)
Patch Set: ~ Created 4 years, 1 month 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
Index: scripts/slave/recipe_modules/chromium/api.py
diff --git a/scripts/slave/recipe_modules/chromium/api.py b/scripts/slave/recipe_modules/chromium/api.py
index eed50545ce7a30f2a7fb17f8f88afcacc2c52f31..aeecd376561b4a7a011b13e8324f43586e47449e 100644
--- a/scripts/slave/recipe_modules/chromium/api.py
+++ b/scripts/slave/recipe_modules/chromium/api.py
@@ -870,12 +870,16 @@ class ChromiumApi(recipe_api.RecipeApi):
infra_step=True,
**kwargs)
- def list_perf_tests(self, browser, num_shards, device=None):
+ def list_perf_tests(self, browser, num_shards, device=None,
+ pass_adb_path=False):
args = ['list', '--browser', browser, '--json-output',
self.m.json.output(), '--num-shards', num_shards]
if device:
args += ['--device', device]
+ if pass_adb_path:
+ args.extend(['--adb-path', self.m.adb.adb_path()])
jbudorick 2016/11/11 22:47:57 This shouldn't be here. run_benchmark doesn't supp
+
return self.m.python(
'List Perf Tests',
self.m.path['checkout'].join('tools', 'perf', 'run_benchmark'),

Powered by Google App Engine
This is Rietveld 408576698