Add java to PATH on windows bots and run ia32 editor tests instead of x64 on windows

Review URL: https://codereview.chromium.org//12674025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20372 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
kustermann@google.com 2013-03-22 10:40:45 +00:00
parent 9834ddc96b
commit 12c1a842ba
2 changed files with 7 additions and 2 deletions

View file

@ -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():

View file

@ -35,6 +35,9 @@ def main():
build_py = os.path.join('tools', 'build.py')
architectures = ['ia32', 'x64']
test_architectures = ['x64']
if sys.platform == 'win32':
# Our windows bots pull in only a 32 bit JVM.
test_architectures = ['ia32']
for arch in architectures:
with bot.BuildStep('Build Editor %s' % arch):