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

Unified Diff: client/tools/buildbot_annotated_steps.py

Issue 12674025: Add java to PATH on windows bots and run ia32 editor tests instead of x64 on windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « no previous file | tools/bots/editor.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tools/buildbot_annotated_steps.py
diff --git a/client/tools/buildbot_annotated_steps.py b/client/tools/buildbot_annotated_steps.py
index 4eabfeb9857a4c632f57c40cc1d984c5d5edbab0..c4242550291c7a4b4da8aaebc1c28fb5adcb180b 100755
--- a/client/tools/buildbot_annotated_steps.py
+++ b/client/tools/buildbot_annotated_steps.py
@@ -133,9 +133,11 @@ def FixJavaHome():
if buildbot_javahome:
current_pwd = os.getenv('PWD')
java_home = os.path.join(current_pwd, buildbot_javahome)
+ java_bin = os.path.join(java_home, 'bin')
os.environ['JAVA_HOME'] = java_home
- print 'Setting java home to'
- print java_home
+ os.environ['PATH'] = '%s;%s' % (java_bin, os.environ['PATH'])
+
+ print 'Setting java home to ', java_home
sys.stdout.flush()
def ClobberBuilder():
« no previous file with comments | « no previous file | tools/bots/editor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698