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

Unified Diff: testing/legion/common_lib.py

Issue 935333002: Update from https://crrev.com/316786 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | « testing/legion/client_rpc_methods.py ('k') | testing/legion/examples/hello_world/host_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/legion/common_lib.py
diff --git a/testing/legion/common_lib.py b/testing/legion/common_lib.py
index b66481e07638e5950185e6b055b210dd1f3515ed..2f527ea1695cc171959b9a0372375de7ea4fb6bc 100644
--- a/testing/legion/common_lib.py
+++ b/testing/legion/common_lib.py
@@ -6,6 +6,7 @@
import argparse
import logging
+import os
import socket
import xmlrpclib
@@ -14,6 +15,8 @@ MY_IP = socket.gethostbyname(socket.gethostname())
SERVER_ADDRESS = ''
SERVER_PORT = 31710
DEFAULT_TIMEOUT_SECS = 20 * 60 # 30 minutes
+THIS_DIR = os.path.dirname(os.path.abspath(__file__))
+SWARMING_DIR = os.path.join(THIS_DIR, '..', '..', 'tools', 'swarming_client')
def InitLogging():
« no previous file with comments | « testing/legion/client_rpc_methods.py ('k') | testing/legion/examples/hello_world/host_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698