OLD | NEW |
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 . import steps | 5 from . import steps |
6 | 6 |
7 SPEC = { | 7 SPEC = { |
8 'settings': { | 8 'settings': { |
9 'build_gs_bucket': 'chromium-memory-fyi-archive', | 9 'build_gs_bucket': 'chromium-memory-fyi-archive', |
10 }, | 10 }, |
11 'builders': { | 11 'builders': { |
12 'Chromium Linux MSan Builder': { | 12 'Chromium Linux MSan Builder': { |
13 'recipe_config': 'chromium_clang', | 13 'recipe_config': 'chromium_msan', |
| 14 'chromium_apply_config': ['instrumented_libraries'], |
14 'GYP_DEFINES': { | 15 'GYP_DEFINES': { |
15 'msan': 1, | |
16 'msan_track_origins': 0, | 16 'msan_track_origins': 0, |
17 'use_instrumented_libraries': 1, | |
18 'instrumented_libraries_jobs': 10, | |
19 }, | 17 }, |
20 'chromium_config_kwargs': { | 18 'chromium_config_kwargs': { |
21 'BUILD_CONFIG': 'Release', | 19 'BUILD_CONFIG': 'Release', |
22 'TARGET_BITS': 64, | 20 'TARGET_BITS': 64, |
23 }, | 21 }, |
24 'bot_type': 'builder', | 22 'bot_type': 'builder', |
25 'testing': { | 23 'testing': { |
26 'platform': 'linux', | 24 'platform': 'linux', |
27 }, | 25 }, |
28 }, | 26 }, |
29 'Linux MSan Tests': { | 27 'Linux MSan Tests': { |
30 'recipe_config': 'chromium_clang', | 28 'recipe_config': 'chromium_msan', |
31 'GYP_DEFINES': { | |
32 # Required on testers to pass the right runtime flags. | |
33 # TODO(earthdok): make this part of a chromium_msan recipe config. | |
34 'msan': 1, | |
35 }, | |
36 'chromium_config_kwargs': { | 29 'chromium_config_kwargs': { |
37 'BUILD_CONFIG': 'Release', | 30 'BUILD_CONFIG': 'Release', |
38 'TARGET_BITS': 64, | 31 'TARGET_BITS': 64, |
39 }, | 32 }, |
40 'bot_type': 'tester', | 33 'bot_type': 'tester', |
41 'test_generators': [ | 34 'test_generators': [ |
42 steps.generate_gtest, | 35 steps.generate_gtest, |
43 ], | 36 ], |
44 'parent_buildername': 'Chromium Linux MSan Builder', | 37 'parent_buildername': 'Chromium Linux MSan Builder', |
45 'testing': { | 38 'testing': { |
46 'platform': 'linux', | 39 'platform': 'linux', |
47 }, | 40 }, |
48 }, | 41 }, |
49 'Linux MSan Browser (1)': { | 42 'Linux MSan Browser (1)': { |
50 'recipe_config': 'chromium_clang', | 43 'recipe_config': 'chromium_msan', |
51 'GYP_DEFINES': { | |
52 # Required on testers to pass the right runtime flags. | |
53 # TODO(earthdok): make this part of a chromium_msan recipe config. | |
54 'msan': 1, | |
55 }, | |
56 'chromium_config_kwargs': { | 44 'chromium_config_kwargs': { |
57 'BUILD_CONFIG': 'Release', | 45 'BUILD_CONFIG': 'Release', |
58 'TARGET_BITS': 64, | 46 'TARGET_BITS': 64, |
59 }, | 47 }, |
60 'bot_type': 'tester', | 48 'bot_type': 'tester', |
61 'test_generators': [ | 49 'test_generators': [ |
62 steps.generate_gtest, | 50 steps.generate_gtest, |
63 ], | 51 ], |
64 'parent_buildername': 'Chromium Linux MSan Builder', | 52 'parent_buildername': 'Chromium Linux MSan Builder', |
65 'testing': { | 53 'testing': { |
66 'platform': 'linux', | 54 'platform': 'linux', |
67 }, | 55 }, |
68 }, | 56 }, |
69 'Linux MSan Browser (2)': { | 57 'Linux MSan Browser (2)': { |
70 'recipe_config': 'chromium_clang', | 58 'recipe_config': 'chromium_msan', |
71 'GYP_DEFINES': { | |
72 # Required on testers to pass the right runtime flags. | |
73 # TODO(earthdok): make this part of a chromium_msan recipe config. | |
74 'msan': 1, | |
75 }, | |
76 'chromium_config_kwargs': { | 59 'chromium_config_kwargs': { |
77 'BUILD_CONFIG': 'Release', | 60 'BUILD_CONFIG': 'Release', |
78 'TARGET_BITS': 64, | 61 'TARGET_BITS': 64, |
79 }, | 62 }, |
80 'bot_type': 'tester', | 63 'bot_type': 'tester', |
81 'test_generators': [ | 64 'test_generators': [ |
82 steps.generate_gtest, | 65 steps.generate_gtest, |
83 ], | 66 ], |
84 'parent_buildername': 'Chromium Linux MSan Builder', | 67 'parent_buildername': 'Chromium Linux MSan Builder', |
85 'testing': { | 68 'testing': { |
86 'platform': 'linux', | 69 'platform': 'linux', |
87 }, | 70 }, |
88 }, | 71 }, |
89 'Linux MSan Browser (3)': { | 72 'Linux MSan Browser (3)': { |
90 'recipe_config': 'chromium_clang', | 73 'recipe_config': 'chromium_msan', |
91 'GYP_DEFINES': { | |
92 # Required on testers to pass the right runtime flags. | |
93 # TODO(earthdok): make this part of a chromium_msan recipe config. | |
94 'msan': 1, | |
95 }, | |
96 'chromium_config_kwargs': { | 74 'chromium_config_kwargs': { |
97 'BUILD_CONFIG': 'Release', | 75 'BUILD_CONFIG': 'Release', |
98 'TARGET_BITS': 64, | 76 'TARGET_BITS': 64, |
99 }, | 77 }, |
100 'bot_type': 'tester', | 78 'bot_type': 'tester', |
101 'test_generators': [ | 79 'test_generators': [ |
102 steps.generate_gtest, | 80 steps.generate_gtest, |
103 ], | 81 ], |
104 'parent_buildername': 'Chromium Linux MSan Builder', | 82 'parent_buildername': 'Chromium Linux MSan Builder', |
105 'testing': { | 83 'testing': { |
106 'platform': 'linux', | 84 'platform': 'linux', |
107 }, | 85 }, |
108 }, | 86 }, |
109 }, | 87 }, |
110 } | 88 } |
OLD | NEW |