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

Side by Side Diff: frog/scripts/buildbot_annotated_steps.py

Issue 9168008: Enabled CSS tests, added CSS tests to buildbot, fixed tooling with nodejs, and added more tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More coding convention changes (consistency). Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | utils/css/cssworld.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """Dart frog buildbot steps 7 """Dart frog buildbot steps
8 8
9 Runs tests for the frog compiler (running on the vm or the self-hosting version) 9 Runs tests for the frog compiler (running on the vm or the self-hosting version)
10 """ 10 """
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 testpy_mode, flags = ConvertConfiguration(arch, mode) 85 testpy_mode, flags = ConvertConfiguration(arch, mode)
86 86
87 print '@@@BUILD_STEP build frog@@@' 87 print '@@@BUILD_STEP build frog@@@'
88 if subprocess.call( 88 if subprocess.call(
89 [sys.executable, '../tools/build.py', '--mode=' + testpy_mode], 89 [sys.executable, '../tools/build.py', '--mode=' + testpy_mode],
90 env=NO_COLOR_ENV) != 0: 90 env=NO_COLOR_ENV) != 0:
91 return 1 91 return 1
92 92
93 if arch != 'frogium': # frog and frogsh 93 if arch != 'frogium': # frog and frogsh
94 TestStep("frog", testpy_mode, arch, [], flags) 94 TestStep("frog", testpy_mode, arch, [], flags)
95 TestStep("frog_extra", testpy_mode, arch, ['frog', 'peg', 'await'], flags) 95 TestStep("frog_extra", testpy_mode, arch, ['frog', 'peg', 'css',
96 'await'], flags)
96 97
97 TestStep("leg_extra", testpy_mode, arch, ['leg', 'leg_only'], flags) 98 TestStep("leg_extra", testpy_mode, arch, ['leg', 'leg_only'], flags)
98 99
99 TestStep("leg", testpy_mode, 'leg', [], flags) 100 TestStep("leg", testpy_mode, 'leg', [], flags)
100 101
101 TestStep("leg_extra", testpy_mode, 'leg', ['leg_only'], flags) 102 TestStep("leg_extra", testpy_mode, 'leg', ['leg_only'], flags)
102 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM. 103 # Leg isn't self-hosted (yet) so we run the leg unit tests on the VM.
103 TestStep("leg_extra", testpy_mode, 'vm', ['leg'], flags) 104 TestStep("leg_extra", testpy_mode, 'vm', ['leg'], flags)
104 105
105 else: 106 else:
106 if (TestStep("browser", testpy_mode, 'frogium', 107 if (TestStep("browser", testpy_mode, 'frogium',
107 ['client', 'language', 'corelib', 'isolate', 'frog', 108 ['client', 'language', 'corelib', 'isolate', 'frog',
108 'leg', 'peg', 'await'], flags) != 0): 109 'leg', 'peg', 'css', 'await'], flags) != 0):
109 return 1 110 return 1
110 111
111 return 0 112 return 0
112 113
113 def main(): 114 def main():
114 print 'main' 115 print 'main'
115 if len(sys.argv) == 0: 116 if len(sys.argv) == 0:
116 print 'Script pathname not known, giving up.' 117 print 'Script pathname not known, giving up.'
117 return 1 118 return 1
118 119
119 arch, mode = GetBuildInfo() 120 arch, mode = GetBuildInfo()
120 print "arch: %s, mode: %s" % (arch, mode) 121 print "arch: %s, mode: %s" % (arch, mode)
121 if arch is None: 122 if arch is None:
122 return 1 123 return 1
123 124
124 status = TestFrog(arch, mode) 125 status = TestFrog(arch, mode)
125 if status != 0: 126 if status != 0:
126 print '@@@STEP_FAILURE@@@' 127 print '@@@STEP_FAILURE@@@'
127 return status 128 return status
128 129
129 130
130 if __name__ == '__main__': 131 if __name__ == '__main__':
131 sys.exit(main()) 132 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | utils/css/cssworld.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698