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

Unified Diff: dart/utils/compiler/buildbot.py

Issue 10911094: Test dart2js checked mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/compiler/buildbot.py
diff --git a/dart/utils/compiler/buildbot.py b/dart/utils/compiler/buildbot.py
index 5020e4df6f474936fdfa02f6c8c0c8b4697e63d6..14f096d62e406d1771ec45a00bf7941fbced770d 100644
--- a/dart/utils/compiler/buildbot.py
+++ b/dart/utils/compiler/buildbot.py
@@ -165,6 +165,11 @@ def TestCompiler(runtime, mode, system, option, flags, is_buildbot):
os.chdir(DART_PATH)
if system.startswith('win') and runtime == 'ie':
+ # TODO(ahe): This pre-dates the shard feature and should be
kasperl 2012/09/05 11:54:20 It actually doesn't predate sharding. I changed it
Emily Fortuna 2012/09/05 16:28:53 Yes, Peter, this comment is incorrect. This was do
ahe 2012/09/05 19:24:30 The only part of the comment that is incorrect is
+ # removed. If we want to have a fast and a slow bot, that should
+ # be accomplished by having several shards distributed on multiple
+ # virtual builders.
+
# We don't do proper sharding on the IE bots, since the runtime is
# long for both. We have a "fast bot" and a "slow bot" that run specific
# tests instead.
@@ -234,6 +239,8 @@ def TestCompiler(runtime, mode, system, option, flags, is_buildbot):
extras = ['dart2js_extra', 'dart2js_native', 'dart2js_foreign']
TestStep("dart2js_extra", mode, system, 'dart2js', runtime, extras, flags)
else:
+ # TODO(ahe): See comment above regarding how to use sharding to
Emily Fortuna 2012/09/05 16:28:53 Please remove -- this comment is incorrect.
+ # accomplish the same.
if bot_num == '1':
TestStep("dart2js", mode, system, 'dart2js', runtime, ['html'], flags)
else:
@@ -332,8 +339,7 @@ def main():
status = TestCompiler(runtime, mode, system, option, test_flags,
is_buildbot)
- # We only run checked mode tests when the host is not in checked mode.
- if status == 0 and option != 'checked' and runtime == 'd8':
+ if status == 0:
status = TestCompiler(runtime, mode, system, option,
test_flags + ['--checked'], is_buildbot)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698