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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/steps.py

Issue 2393843004: [android] Add pass_adb_path to chromium_tests.steps.DynamicPerfTests. (Closed)
Patch Set: Created 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium_tests/steps.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py
index 8139e8375cadfbc6ba15acb9ce248250d6aedbbf..e28726d01b9286cf975b7f8dacdbe3aaabb1e708 100644
--- a/scripts/slave/recipe_modules/chromium_tests/steps.py
+++ b/scripts/slave/recipe_modules/chromium_tests/steps.py
@@ -543,7 +543,8 @@ def generate_script(api, chromium_tests_api, mastername, buildername, test_spec,
class DynamicPerfTests(Test):
def __init__(self, perf_id, platform, target_bits, max_battery_temp=350,
num_device_shards=1, num_host_shards=1, shard_index=0,
- override_browser_name=None, enable_platform_mode=False):
+ override_browser_name=None, enable_platform_mode=False,
+ pass_adb_path=True):
self._perf_id = perf_id
self._platform = platform
self._target_bits = target_bits
@@ -552,6 +553,7 @@ class DynamicPerfTests(Test):
self._max_battery_temp = max_battery_temp
self._num_host_shards = num_host_shards
self._num_device_shards = num_device_shards
+ self._pass_adb_path = pass_adb_path
self._shard_index = shard_index
if override_browser_name:
@@ -607,7 +609,8 @@ class DynamicPerfTests(Test):
chartjson_file=True,
max_battery_temp=self._max_battery_temp,
known_devices_file=api.chromium_android.known_devices_file,
- enable_platform_mode=self._enable_platform_mode)
+ enable_platform_mode=self._enable_platform_mode,
+ pass_adb_path=self._pass_adb_path)
def _run_serially(self, api, tests):
failure = None
« 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