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

Unified Diff: tools/bots/bot.py

Issue 22861013: Support testing the dart2js compiler on the 64 bit vm (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bots/bot.py
===================================================================
--- tools/bots/bot.py (revision 26311)
+++ tools/bots/bot.py (working copy)
@@ -36,11 +36,13 @@
- total_shards: The total number of shards, None when not specified.
- is_buildbot: True if we are on a buildbot (or emulating it).
- test_set: Specification of a non standard test set or None.
+ - csp: This is using csp when running
+ - arch: The architecture to build on.
"""
def __init__(self, compiler, runtime, mode, system, checked=False,
host_checked=False, minified=False, shard_index=None,
total_shards=None, is_buildbot=False, test_set=None,
- csp=None):
+ csp=None, arch=None):
self.compiler = compiler
self.runtime = runtime
self.mode = mode
@@ -53,6 +55,10 @@
self.is_buildbot = is_buildbot
self.test_set = test_set
self.csp = csp
+ if (arch == None):
+ self.arch = 'ia32'
+ else:
+ self.arch=arch
kustermann 2013/08/19 13:25:32 space around '='
ricow1 2013/08/20 10:25:50 Done.
def PrintBuildInfo(self):
shard_description = ""
@@ -60,10 +66,11 @@
shard_description = " shard %s of %s" % (self.shard_index,
self.total_shards)
print ("compiler: %s, runtime: %s mode: %s, system: %s,"
- " checked: %s, host-checked: %s, minified: %s, test-set: %s%s"
+ " checked: %s, host-checked: %s, minified: %s, test-set: %s"
+ " arch: %s%s"
) % (self.compiler, self.runtime, self.mode, self.system,
self.checked, self.host_checked, self.minified, self.test_set,
- shard_description)
+ self.arch, shard_description)
class BuildStep(object):
@@ -102,7 +109,7 @@
"""
with BuildStep('Build SDK'):
args = [sys.executable, './tools/build.py', '--mode=' + build_info.mode,
- 'create_sdk']
+ '--arch=' + build_info.arch, 'create_sdk']
print 'Building SDK: %s' % (' '.join(args))
RunProcess(args)
@@ -205,6 +212,7 @@
'--mode=' + build_info.mode,
'--compiler=' + build_info.compiler,
'--runtime=' + build_info.runtime,
+ '--arch=' + build_info.arch,
'--progress=buildbot',
'-v', '--time', '--use-sdk', '--report'
]
« no previous file with comments | « no previous file | tools/bots/compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698