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

Side by Side Diff: scripts/slave/recipes/closure_compilation.py

Issue 1128313003: Use a generic runner for all Closure tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
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
« no previous file with comments | « no previous file | scripts/slave/recipes/closure_compilation.expected/main.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 DEPS = [ 5 DEPS = [
6 'bot_update', 6 'bot_update',
7 'chromium', 7 'chromium',
8 'gclient', 8 'gclient',
9 'path', 9 'path',
10 'properties', 10 'properties',
11 'python', 11 'python',
12 'step', 12 'step',
13 ] 13 ]
14 14
15 15
16 def GenSteps(api): 16 def GenSteps(api):
17 api.gclient.set_config('chromium') 17 api.gclient.set_config('chromium')
18 api.chromium.set_config('ninja') 18 api.chromium.set_config('ninja')
19 19
20 api.bot_update.ensure_checkout(force=True) 20 api.bot_update.ensure_checkout(force=True)
21 21
22 api.python( 22 api.python(
23 'compiler_customization_test', 23 'run_tests',
24 api.path['checkout'].join('third_party', 'closure_compiler', 24 api.path['checkout'].join('third_party', 'closure_compiler',
25 'compiler_customization_test.py') 25 'run_tests.py')
26 ) 26 )
27 27
28 api.step( 28 api.step(
29 'generate_gyp_files', 29 'generate_gyp_files',
30 [api.path['checkout'].join('build', 'gyp_chromium'), 30 [api.path['checkout'].join('build', 'gyp_chromium'),
31 api.path['checkout'].join('third_party', 'closure_compiler', 31 api.path['checkout'].join('third_party', 'closure_compiler',
32 'compiled_resources.gyp')], 32 'compiled_resources.gyp')],
33 ) 33 )
34 34
35 api.chromium.compile() 35 api.chromium.compile()
36 36
37 37
38 def GenTests(api): 38 def GenTests(api):
39 yield ( 39 yield (
40 api.test('main') + 40 api.test('main') +
41 api.properties.generic( 41 api.properties.generic(
42 mastername='chromium.fyi', 42 mastername='chromium.fyi',
43 buildername='Closure Compilation Linux', 43 buildername='Closure Compilation Linux',
44 ) 44 )
45 ) 45 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/closure_compilation.expected/main.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698