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

Side by Side Diff: scripts/master/factory/v8_factory.py

Issue 9663071: V8 Buildbot: Add static initializers check. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build/
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « scripts/master/factory/v8_commands.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 """Utility class to build the v8 master BuildFactory's. 5 """Utility class to build the v8 master BuildFactory's.
6 6
7 Based on gclient_factory.py and adds v8-specific steps.""" 7 Based on gclient_factory.py and adds v8-specific steps."""
8 8
9 from master.factory import v8_commands 9 from master.factory import v8_commands
10 from master.factory import gclient_factory 10 from master.factory import gclient_factory
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 target_arch=None): 62 target_arch=None):
63 """Add the tests listed in 'tests' to the factory_cmd_obj.""" 63 """Add the tests listed in 'tests' to the factory_cmd_obj."""
64 factory_properties = factory_properties or {} 64 factory_properties = factory_properties or {}
65 65
66 # Small helper function to check if we should run a test 66 # Small helper function to check if we should run a test
67 def R(test): 67 def R(test):
68 return gclient_factory.ShouldRunTest(tests, test) 68 return gclient_factory.ShouldRunTest(tests, test)
69 69
70 f = factory_cmd_obj 70 f = factory_cmd_obj
71 if R('presubmit'): f.AddPresubmitTest() 71 if R('presubmit'): f.AddPresubmitTest()
72 if R('v8initializers'): f.AddV8Initializers()
72 if R('v8testing'): f.AddV8Testing() 73 if R('v8testing'): f.AddV8Testing()
73 if R('v8_es5conform'): f.AddV8ES5Conform() 74 if R('v8_es5conform'): f.AddV8ES5Conform()
74 if R('fuzz'): f.AddFuzzer() 75 if R('fuzz'): f.AddFuzzer()
75 if R('mozilla'): f.AddV8Mozilla() 76 if R('mozilla'): f.AddV8Mozilla()
76 if R('sputnik'): f.AddV8Sputnik() 77 if R('sputnik'): f.AddV8Sputnik()
77 if R('gcmole'): f.AddV8GCMole() 78 if R('gcmole'): f.AddV8GCMole()
78 79
79 80
80 81
81 def V8Factory(self, target='release', clobber=False, tests=None, mode=None, 82 def V8Factory(self, target='release', clobber=False, tests=None, mode=None,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 v8_cmd_obj.AddArchiveBuild( 131 v8_cmd_obj.AddArchiveBuild(
131 extra_archive_paths=factory_properties.get('extra_archive_paths')) 132 extra_archive_paths=factory_properties.get('extra_archive_paths'))
132 133
133 # This is for the arm tester board (we don't have other pure tester slaves). 134 # This is for the arm tester board (we don't have other pure tester slaves).
134 if (slave_type == 'Tester'): 135 if (slave_type == 'Tester'):
135 v8_cmd_obj.AddMoveExtracted() 136 v8_cmd_obj.AddMoveExtracted()
136 137
137 # Add all the tests. 138 # Add all the tests.
138 self._AddTests(v8_cmd_obj, tests, mode, factory_properties) 139 self._AddTests(v8_cmd_obj, tests, mode, factory_properties)
139 return factory 140 return factory
OLDNEW
« no previous file with comments | « scripts/master/factory/v8_commands.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698