| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Set of utilities to add commands to a buildbot factory. | 5 """Set of utilities to add commands to a buildbot factory. |
| 6 | 6 |
| 7 This is based on commands.py and adds chromium-specific commands.""" | 7 This is based on commands.py and adds chromium-specific commands.""" |
| 8 | 8 |
| 9 from buildbot.steps import shell | 9 from buildbot.steps import shell |
| 10 | 10 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 cmd += ['--isolates', 'on'] | 70 cmd += ['--isolates', 'on'] |
| 71 return cmd | 71 return cmd |
| 72 | 72 |
| 73 def AddV8GCMole(self): | 73 def AddV8GCMole(self): |
| 74 cmd = ['lua', '../../../gcmole/gcmole.lua'] | 74 cmd = ['lua', '../../../gcmole/gcmole.lua'] |
| 75 self.AddTestStep(shell.ShellCommand, | 75 self.AddTestStep(shell.ShellCommand, |
| 76 'GCMole', cmd, | 76 'GCMole', cmd, |
| 77 timeout=3600, | 77 timeout=3600, |
| 78 workdir='build/v8/') | 78 workdir='build/v8/') |
| 79 | 79 |
| 80 def AddV8Initializers(self): |
| 81 cmd = ['bash', './tools/check-static-initializers.sh'] |
| 82 self.AddTestStep(shell.ShellCommand, |
| 83 'Static-Initializers', cmd, |
| 84 workdir='build/v8/') |
| 85 |
| 80 def AddV8Testing(self, properties=None): | 86 def AddV8Testing(self, properties=None): |
| 81 if self._target_platform == 'win32': | 87 if self._target_platform == 'win32': |
| 82 self.AddTaskkillStep() | 88 self.AddTaskkillStep() |
| 83 cmd = self.GetV8TestingCommand() | 89 cmd = self.GetV8TestingCommand() |
| 84 self.AddTestStep(shell.ShellCommand, | 90 self.AddTestStep(shell.ShellCommand, |
| 85 'Check', cmd, | 91 'Check', cmd, |
| 86 timeout=3600, | 92 timeout=3600, |
| 87 workdir='build/v8/') | 93 workdir='build/v8/') |
| 88 | 94 |
| 89 def AddV8ES5Conform(self, properties=None): | 95 def AddV8ES5Conform(self, properties=None): |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 workdir='build/v8') | 152 workdir='build/v8') |
| 147 | 153 |
| 148 def AddMoveExtracted(self): | 154 def AddMoveExtracted(self): |
| 149 """Adds a step to download and extract a previously archived build.""" | 155 """Adds a step to download and extract a previously archived build.""" |
| 150 cmd = ('cp -R sconsbuild/release/* v8/.') | 156 cmd = ('cp -R sconsbuild/release/* v8/.') |
| 151 self._factory.addStep(shell.ShellCommand, | 157 self._factory.addStep(shell.ShellCommand, |
| 152 description='Move extracted to bleeding', | 158 description='Move extracted to bleeding', |
| 153 timeout=600, | 159 timeout=600, |
| 154 workdir='build', | 160 workdir='build', |
| 155 command=cmd) | 161 command=cmd) |
| OLD | NEW |