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

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

Issue 1764693003: [Android] Add ability to configure known devices file for perf tests to android/perf.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: make .known_devices default Created 4 years, 10 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 | « scripts/slave/recipe_modules/chromium_tests/chromium_perf.py ('k') | scripts/slave/recipes/android/perf.py » ('j') | 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 49618bfc8f4e35dcb92694aac2a14b9d4902a2a0..5464fc9a3ba2be82d461cf5105cd6cac4aa30002 100644
--- a/scripts/slave/recipe_modules/chromium_tests/steps.py
+++ b/scripts/slave/recipe_modules/chromium_tests/steps.py
@@ -551,11 +551,10 @@ class DynamicPerfTests(Test):
return tests
def _run_sharded(self, api, tests):
- if self._known_devices_file:
- known_devices_file = api.path['build'].join(
- 'site_config', self._known_devices_file)
- else:
- known_devices_file = None
+ known_devices_file = (
+ api.path['build'].join(
+ 'site_config', self._known_devices_file) if self._known_devices_file
+ else None)
api.chromium_android.run_sharded_perf_tests(
config=api.json.input(data=tests),
perf_id=self._perf_id,
« no previous file with comments | « scripts/slave/recipe_modules/chromium_tests/chromium_perf.py ('k') | scripts/slave/recipes/android/perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698