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

Unified Diff: testing/legion/task_controller.py

Issue 1108173002: Roll //build, //native_client, and a few more targets of opportunity. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Test fix Created 5 years, 8 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 | « testing/legion/rpc_methods.py ('k') | testing/legion/task_registration_server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/legion/task_controller.py
diff --git a/testing/legion/task_controller.py b/testing/legion/task_controller.py
index df9ddbdeb56370b26b6e08e974fc59050a17edea..9514f44fddd89a0ad6dae6b67ccc4b086417d37a 100644
--- a/testing/legion/task_controller.py
+++ b/testing/legion/task_controller.py
@@ -17,6 +17,7 @@ import xmlrpclib
#pylint: disable=relative-import
import common_lib
+import process
ISOLATE_PY = os.path.join(common_lib.SWARMING_DIR, 'isolate.py')
SWARMING_PY = os.path.join(common_lib.SWARMING_DIR, 'swarming.py')
@@ -125,6 +126,10 @@ class TaskController(object):
for task in cls._tasks:
task.Release()
+ def Process(self, cmd, verbose=False, detached=False, cwd=None):
+ return process.ControllerProcessWrapper(
+ self.rpc, cmd, verbose, detached, cwd)
+
def _CreateOTP(self):
"""Creates the OTP."""
controller_name = socket.gethostname()
« no previous file with comments | « testing/legion/rpc_methods.py ('k') | testing/legion/task_registration_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698