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

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

Issue 2319853002: Remove ignored bot_update "force" parameter. (Closed)
Patch Set: rebase Created 4 years, 3 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
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 import re 5 import re
6 from recipe_engine.types import freeze 6 from recipe_engine.types import freeze
7 7
8 DEPS = [ 8 DEPS = [
9 'archive', 9 'archive',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
(...skipping 24 matching lines...) Expand all
35 }, 35 },
36 }, 36 },
37 }) 37 })
38 38
39 39
40 def RunSteps(api): 40 def RunSteps(api):
41 mastername = api.m.properties['mastername'] 41 mastername = api.m.properties['mastername']
42 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb']) 42 buildername, bot_config = api.chromium.configure_bot(BUILDERS, ['mb'])
43 43
44 api.bot_update.ensure_checkout( 44 api.bot_update.ensure_checkout(
45 force=True, patch_root=bot_config.get('root_override')) 45 patch_root=bot_config.get('root_override'))
46 46
47 api.chromium.runhooks() 47 api.chromium.runhooks()
48 api.chromium.run_mb(mastername, buildername, use_goma=False) 48 api.chromium.run_mb(mastername, buildername, use_goma=False)
49 49
50 api.chromium.compile(targets=['empty_fuzzer']) 50 api.chromium.compile(targets=['empty_fuzzer'])
51 51
52 config_kwargs = bot_config.get('chromium_config_kwargs', dict()) 52 config_kwargs = bot_config.get('chromium_config_kwargs', dict())
53 build_config = config_kwargs.get('BUILD_CONFIG', 'Release') 53 build_config = config_kwargs.get('BUILD_CONFIG', 'Release')
54 build_dir=api.path['slave_build'].join('src', 'out', build_config) 54 build_dir=api.path['slave_build'].join('src', 'out', build_config)
55 55
56 api.step('running empty_fuzzer', [api.path.join(build_dir, 'empty_fuzzer'), 56 api.step('running empty_fuzzer', [api.path.join(build_dir, 'empty_fuzzer'),
57 '-runs=1']) 57 '-runs=1'])
58 58
59 59
60 def GenTests(api): 60 def GenTests(api):
61 for test in api.chromium.gen_tests_for_builders(BUILDERS): 61 for test in api.chromium.gen_tests_for_builders(BUILDERS):
62 yield test 62 yield test
63 63
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698