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

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

Issue 2373463002: Try switching to the the all target instead of All (Closed)
Patch Set: Created 4 years, 2 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/chromium_codesearch.expected/full_ChromiumOS_Codesearch.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 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 DEPS = [ 7 DEPS = [
8 'chromium', 8 'chromium',
9 'commit_position', 9 'commit_position',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 SPEC = freeze({ 58 SPEC = freeze({
59 # The builders have the following parameters: 59 # The builders have the following parameters:
60 # - compile_targets: the compile targets. 60 # - compile_targets: the compile targets.
61 # - environment: The environment of the bot (prod / staging). 61 # - environment: The environment of the bot (prod / staging).
62 # - package_filename: The prefix of the name of the source archive. 62 # - package_filename: The prefix of the name of the source archive.
63 # - platform: The platform for which the code is compiled. 63 # - platform: The platform for which the code is compiled.
64 'builders': { 64 'builders': {
65 'Chromium Linux Codesearch': { 65 'Chromium Linux Codesearch': {
66 'compile_targets': [ 66 'compile_targets': [
67 'All', 67 'all',
68 ], 68 ],
69 'environment': 'prod', 69 'environment': 'prod',
70 'package_filename': 'chromium-src', 70 'package_filename': 'chromium-src',
71 'platform': 'linux', 71 'platform': 'linux',
72 }, 72 },
73 'ChromiumOS Codesearch': { 73 'ChromiumOS Codesearch': {
74 'compile_targets': [ 74 'compile_targets': [
75 'All', 75 'all',
76 ], 76 ],
77 'environment': 'prod', 77 'environment': 'prod',
78 'package_filename': 'chromiumos-src', 78 'package_filename': 'chromiumos-src',
79 'platform': 'chromeos', 79 'platform': 'chromeos',
80 }, 80 },
81 'Chromium Linux Codesearch Builder': { 81 'Chromium Linux Codesearch Builder': {
82 'compile_targets': [ 82 'compile_targets': [
83 'All', 83 'all',
84 ], 84 ],
85 'environment': 'staging', 85 'environment': 'staging',
86 'package_filename': 'chromium-src', 86 'package_filename': 'chromium-src',
87 'platform': 'linux', 87 'platform': 'linux',
88 }, 88 },
89 'ChromiumOS Codesearch Builder': { 89 'ChromiumOS Codesearch Builder': {
90 'compile_targets': [ 90 'compile_targets': [
91 'All', 91 'all',
92 ], 92 ],
93 'environment': 'staging', 93 'environment': 'staging',
94 'package_filename': 'chromiumos-src', 94 'package_filename': 'chromiumos-src',
95 'platform': 'chromeos', 95 'platform': 'chromeos',
96 }, 96 },
97 }, 97 },
98 }) 98 })
99 99
100 def GenerateCompilationDatabase(api, debug_path, targets, platform): 100 def GenerateCompilationDatabase(api, debug_path, targets, platform):
101 # TODO(akuegel): If we ever build on Windows or Mac, this needs to be 101 # TODO(akuegel): If we ever build on Windows or Mac, this needs to be
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 api.test( 265 api.test(
266 'full_%s_fail' % _sanitize_nonalpha('ChromiumOS Codesearch')) + 266 'full_%s_fail' % _sanitize_nonalpha('ChromiumOS Codesearch')) +
267 api.step_data('generate compilation database for chromeos', 267 api.step_data('generate compilation database for chromeos',
268 stdout=api.raw_io.output('some compilation data')) + 268 stdout=api.raw_io.output('some compilation data')) +
269 api.step_data('generate compilation database for linux', 269 api.step_data('generate compilation database for linux',
270 stdout=api.raw_io.output('some compilation data')) + 270 stdout=api.raw_io.output('some compilation data')) +
271 api.step_data('run translation_unit clang tool', retcode=2) + 271 api.step_data('run translation_unit clang tool', retcode=2) +
272 api.properties.generic(buildername='ChromiumOS Codesearch', 272 api.properties.generic(buildername='ChromiumOS Codesearch',
273 mastername='chromium.infra.cron') 273 mastername='chromium.infra.cron')
274 ) 274 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698