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

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

Issue 2119483003: Reland "Allow multiple devices on bisects hosts " (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove empty change to revision_state.py Created 4 years, 5 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
Index: scripts/slave/recipe_modules/bisect_tester/api.py
diff --git a/scripts/slave/recipe_modules/bisect_tester/api.py b/scripts/slave/recipe_modules/bisect_tester/api.py
index 53181308999431813973d751cb20ebcf3688d76a..83979a4834cf04cb1c1492e4057c8974759fd651 100644
--- a/scripts/slave/recipe_modules/bisect_tester/api.py
+++ b/scripts/slave/recipe_modules/bisect_tester/api.py
@@ -17,6 +17,24 @@ class BisectTesterApi(recipe_api.RecipeApi):
def __init__(self, **kwargs):
super(BisectTesterApi, self).__init__(**kwargs)
+ self._device_to_test = None
+ self._devices_tested = []
+
+ @property
+ def device_to_test(self):
+ return self._device_to_test
+
+ @property
+ def devices_tested(self): # pragma: no cover
+ return self._devices_tested
+
+ @device_to_test.setter
+ def device_to_test(self, value): # pragma: no cover
+ self._device_to_test = value
+
+ @devices_tested.setter
+ def devices_tested(self, value): # pragma: no cover
+ self._devices_tested = value
def local_test_enabled(self):
buildername = os.environ.get('BUILDBOT_BUILDERNAME')

Powered by Google App Engine
This is Rietveld 408576698