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

Side by Side Diff: masters/master.chromium.memory/master_win_cfg.py

Issue 11379003: Add Windows ASAN bots. (Closed) Base URL: http://git.chromium.org/chromium/tools/build.git@neuter
Patch Set: Change the window Builder's category to avoid closing the tree Created 8 years 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 | « masters/master.chromium.memory/master.cfg ('k') | masters/master.chromium.memory/slaves.cfg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 from master import master_config
6 from master.factory import chromium_factory
7
8 defaults = {}
9
10 helper = master_config.Helper(defaults)
11 B = helper.Builder
12 F = helper.Factory
13 S = helper.Scheduler
14 T = helper.Triggerable
15
16 win = lambda: chromium_factory.ChromiumFactory('src/out', 'win32')
17
18 defaults['category'] = '4win asan'
19
20 #
21 # Main asan release scheduler for src/
22 #
23 S('win_asan_rel', branch='src', treeStableTimer=60)
24
25 #
26 # Triggerable scheduler for the rel asan builder
27 #
28 T('win_asan_rel_trigger')
29
30 win_asan_archive = master_config.GetArchiveUrl('ChromiumMemory',
31 'Win ASAN Builder',
32 'Win_ASAN_Builder',
33 'win32')
34
35 tests_1 = [
36 'base_unittests',
37 'browser_tests',
38 'cacheinvalidation_unittests',
39 'crypto_unittests',
40 'gpu_unittests',
41 'jingle_unittests',
42 'net_unittests',
43 ]
44
45 tests_2 = [
46 'browser_tests',
47 'content_browsertests',
48 'googleurl_unittests',
49 'media_unittests',
50 'ppapi_unittests',
51 'printing_unittests',
52 'remoting_unittests',
53 'unit_tests',
54 ]
55
56 #
57 # Windows ASAN Rel Builder
58 #
59 win_asan_rel_options = [
60 '--compiler=goma', '--build-tool=ninja', '--',
61 ] + tests_1 + tests_2
62
63 B('Win ASAN Builder', 'win_asan_rel', 'compile_noclose', 'win_asan_rel',
64 auto_reboot=False, notify_on_missing=True)
65 F('win_asan_rel', win().ChromiumASANFactory(
66 slave_type='Builder',
67 options=win_asan_rel_options,
68 compile_timeout=4800,
69 factory_properties={
70 'asan': True,
71 'gclient_env': {
72 'GYP_DEFINES': (
73 'asan=1 win_z7=1 chromium_win_pch=0 '
74 'component=static_library '
75 ),
76 'GYP_GENERATORS': 'ninja',
77 },
78 'trigger': 'win_asan_rel_trigger',
79 }))
80
81 #
82 # Win ASAN Rel testers
83 #
84 B('Win ASAN Tests (1)', 'win_asan_rel_tests_1', 'testers_noclose',
85 'win_asan_rel_trigger', notify_on_missing=True)
86 F('win_asan_rel_tests_1', win().ChromiumASANFactory(
87 slave_type='Tester',
88 build_url=win_asan_archive,
89 tests=tests_1,
90 factory_properties={
91 'asan': True,
92 'browser_shard_index': 1,
93 'browser_total_shards': 2,
94 'testing_env': {
95 'CHROME_ALLOCATOR': 'WINHEAP',
96 },
97 }))
98
99 B('Win ASAN Tests (2)', 'win_asan_rel_tests_2', 'testers_noclose',
100 'win_asan_rel_trigger', notify_on_missing=True)
101 F('win_asan_rel_tests_2', win().ChromiumASANFactory(
102 slave_type='Tester',
103 build_url=win_asan_archive,
104 tests=tests_2,
105 factory_properties={
106 'asan': True,
107 'browser_shard_index': 2,
108 'browser_total_shards': 2,
109 'testing_env': {
110 'CHROME_ALLOCATOR': 'WINHEAP',
111 },
112 }))
113
114
115 def Update(config, active_master, c):
116 return helper.Update(c)
OLDNEW
« no previous file with comments | « masters/master.chromium.memory/master.cfg ('k') | masters/master.chromium.memory/slaves.cfg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698