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

Unified Diff: build/android/buildbot/bb_utils.py

Issue 33303004: android buildbot: Don't cd into src/ by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more Created 7 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 | « build/android/buildbot/bb_run_bot.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_utils.py
diff --git a/build/android/buildbot/bb_utils.py b/build/android/buildbot/bb_utils.py
index 3c16cc2bc5b243d4db1c7b1eeb8f3c5a948862c1..8eb6859075f5c854a232b1ac91594e8a29c006d3 100644
--- a/build/android/buildbot/bb_utils.py
+++ b/build/android/buildbot/bb_utils.py
@@ -36,7 +36,7 @@ def CommandToString(command):
return ' '.join(map(pipes.quote, command))
-def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
+def SpawnCmd(command, stdout=None, cwd=None):
"""Spawn a process without waiting for termination."""
print '>', CommandToString(command)
sys.stdout.flush()
@@ -54,7 +54,7 @@ def SpawnCmd(command, stdout=None, cwd=CHROME_SRC):
def RunCmd(command, flunk_on_failure=True, halt_on_failure=False,
warning_code=constants.WARNING_EXIT_CODE, stdout=None,
- cwd=CHROME_SRC):
+ cwd=None):
"""Run a command relative to the chrome source root."""
code = SpawnCmd(command, stdout, cwd).wait()
print '<', CommandToString(command)
« no previous file with comments | « build/android/buildbot/bb_run_bot.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698