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

Side by Side Diff: scripts/slave/recipe_modules/v8/resources/v8testing.py

Issue 1145813002: Download test data for v8 simd tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 7 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 | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The Chromium Authors. All rights reserved. 2 # Copyright 2015 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """A tool to run the v8 tests. 6 """A tool to run the v8 tests.
7 7
8 For a list of command-line options, call this script with '--help'. 8 For a list of command-line options, call this script with '--help'.
9 """ 9 """
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 if options.no_variants: 133 if options.no_variants:
134 cmd.extend(['--no-variants']) 134 cmd.extend(['--no-variants'])
135 if options.turbo_variant: 135 if options.turbo_variant:
136 cmd.extend(['--variants=turbofan']) 136 cmd.extend(['--variants=turbofan'])
137 if 'benchmarks' in options.testname: 137 if 'benchmarks' in options.testname:
138 cmd.extend(['--download-data']) 138 cmd.extend(['--download-data'])
139 if 'test262' in options.testname: 139 if 'test262' in options.testname:
140 cmd.extend(['--download-data']) 140 cmd.extend(['--download-data'])
141 if 'test262-es6' in options.testname: 141 if 'test262-es6' in options.testname:
142 cmd.extend(['--download-data']) 142 cmd.extend(['--download-data'])
143 if 'simdjs' in options.testname:
144 cmd.extend(['--download-data'])
145 if 'simdjs/shell_test_runner' in options.testname:
146 cmd.extend(['--download-data'])
143 if 'mozilla' in options.testname: 147 if 'mozilla' in options.testname:
144 # Mozilla tests requires a number of tests to timeout, set it a bit lower. 148 # Mozilla tests requires a number of tests to timeout, set it a bit lower.
145 if options.arch in ('arm', 'mipsel'): 149 if options.arch in ('arm', 'mipsel'):
146 cmd.extend(['--timeout=180']) 150 cmd.extend(['--timeout=180'])
147 else: 151 else:
148 cmd.extend(['--timeout=120']) 152 cmd.extend(['--timeout=120'])
149 elif options.shell_flags and '--gc-interval' in options.shell_flags: 153 elif options.shell_flags and '--gc-interval' in options.shell_flags:
150 # GC Stress testing takes much longer, set generous timeout. 154 # GC Stress testing takes much longer, set generous timeout.
151 if options.arch in ('arm', 'mipsel'): 155 if options.arch in ('arm', 'mipsel'):
152 cmd.extend(['--timeout=1200']) 156 cmd.extend(['--timeout=1200'])
(...skipping 27 matching lines...) Expand all
180 184
181 if options.shard_count > 1: 185 if options.shard_count > 1:
182 cmd.extend(['--shard-count=%s' % options.shard_count, 186 cmd.extend(['--shard-count=%s' % options.shard_count,
183 '--shard-run=%s' % options.shard_run]) 187 '--shard-run=%s' % options.shard_run])
184 188
185 return chromium_utils.RunCommand(cmd) 189 return chromium_utils.RunCommand(cmd)
186 190
187 191
188 if __name__ == '__main__': 192 if __name__ == '__main__':
189 sys.exit(main()) 193 sys.exit(main())
OLDNEW
« 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