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

Unified Diff: dart/frog/scripts/buildbot_annotated_steps.py

Issue 9717033: Rename leg -> dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: buildbot_annotated_steps.py Created 8 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 | « dart/frog/frog.py ('k') | dart/frog/tests/await/await.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/scripts/buildbot_annotated_steps.py
diff --git a/dart/frog/scripts/buildbot_annotated_steps.py b/dart/frog/scripts/buildbot_annotated_steps.py
index 273ec5ccf39f5f0e17d20ac83a2dcf5ce4064ef8..8897395c10a012646561c4c9ecefeeaaa21ed3a4 100644
--- a/dart/frog/scripts/buildbot_annotated_steps.py
+++ b/dart/frog/scripts/buildbot_annotated_steps.py
@@ -86,14 +86,20 @@ def TestStep(name, mode, system, component, targets, flags):
else:
cmd = []
+ user_test = os.environ.get('USER_TEST', 'no')
+
cmd.extend([sys.executable,
os.path.join(os.curdir, 'tools', 'test.py'),
'--mode=' + mode,
'--component=' + component,
'--time',
- '--report',
- '--progress=buildbot',
- '-v'])
+ '--report'])
+
+ if user_test == 'yes':
+ cmd.append('--progress=color')
+ else:
+ cmd.extend(['--progress=buildbot', '-v'])
+
if flags:
cmd.extend(flags)
cmd.extend(targets)
@@ -108,8 +114,8 @@ def TestStep(name, mode, system, component, targets, flags):
def BuildFrog(component, mode, system):
""" build frog.
Args:
- - component: either 'leg', 'frog', 'frogsh' (frog self-hosted), 'frogium'
- or 'legium'
+ - component: either 'dart2js', 'frog', 'frogsh' (frog
+ self-hosted), 'frogium' or 'legium'
- mode: either 'debug' or 'release'
- system: either 'linux', 'mac', or 'win7'
"""
@@ -133,8 +139,8 @@ def BuildFrog(component, mode, system):
def TestFrog(component, mode, system, browser, option, flags):
""" test frog.
Args:
- - component: either 'leg', 'frog', 'frogsh' (frog self-hosted), 'frogium',
- or 'legium'
+ - component: either 'dart2js', 'frog', 'frogsh' (frog
+ self-hosted), 'frogium', or 'legium'
- mode: either 'debug' or 'release'
- system: either 'linux', 'mac', or 'win7'
- browser: one of the browsers, see GetBuildInfo
@@ -149,12 +155,12 @@ def TestFrog(component, mode, system, browser, option, flags):
if (option == 'checked'):
flags.append('--host-checked')
# Leg isn't self-hosted (yet) so we run the leg unit tests on the VM.
- TestStep("leg_extra", mode, system, 'vm', ['leg'], ['--checked'])
+ TestStep("dart2js_unit", mode, system, 'vm', ['leg'], ['--checked'])
extra_suites = ['leg_only', 'frog_native']
- TestStep("leg_extra", mode, system, 'leg', extra_suites, flags)
+ TestStep("dart2js_extra", mode, system, 'dart2js', extra_suites, flags)
- TestStep("leg", mode, system, 'leg', [], flags)
+ TestStep("dart2js", mode, system, 'dart2js', [], flags)
elif component != 'frogium': # frog and frogsh
TestStep("frog", mode, system, component, [], flags)
« no previous file with comments | « dart/frog/frog.py ('k') | dart/frog/tests/await/await.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698