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 """Recipe to test the deterministic build. | 5 """Recipe to test the deterministic build. |
6 | 6 |
7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall | 7 Waterfall page: https://build.chromium.org/p/chromium.swarm/waterfall |
8 """ | 8 """ |
9 | 9 |
10 from infra.libs.infra_types import freeze | 10 from infra.libs.infra_types import freeze |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'Mac deterministic build': { | 42 'Mac deterministic build': { |
43 'chromium_config': 'chromium', | 43 'chromium_config': 'chromium', |
44 'gclient_config': 'chromium', | 44 'gclient_config': 'chromium', |
45 'platform': 'mac', | 45 'platform': 'mac', |
46 }, | 46 }, |
47 'Windows deterministic build': { | 47 'Windows deterministic build': { |
48 'chromium_config': 'chromium', | 48 'chromium_config': 'chromium', |
49 'gclient_config': 'chromium', | 49 'gclient_config': 'chromium', |
50 'platform': 'win', | 50 'platform': 'win', |
51 }, | 51 }, |
52 'Windows Clang deterministic build': { | 52 'CrWinClang Deterministic': { |
53 'chromium_config': 'chromium_win_clang', | 53 'chromium_config': 'chromium_win_clang', |
54 'gclient_config': 'chromium', | 54 'gclient_config': 'chromium', |
55 'platform': 'win', | 55 'platform': 'win', |
56 }, | 56 }, |
57 }) | 57 }) |
58 | 58 |
59 | 59 |
60 def MoveBuildDirectory(api, src_dir, dst_dir): | 60 def MoveBuildDirectory(api, src_dir, dst_dir): |
61 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 61 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
62 """ | 62 """ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 _sanitize_nonalpha(buildername)) | 157 _sanitize_nonalpha(buildername)) |
158 yield ( | 158 yield ( |
159 api.test(test_name) + | 159 api.test(test_name) + |
160 api.properties.scheduled() + | 160 api.properties.scheduled() + |
161 api.properties.generic(buildername=buildername, | 161 api.properties.generic(buildername=buildername, |
162 mastername=mastername) + | 162 mastername=mastername) + |
163 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 163 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
164 api.properties(configuration='Release') + | 164 api.properties(configuration='Release') + |
165 api.step_data('remove_build_metadata', retcode=1) | 165 api.step_data('remove_build_metadata', retcode=1) |
166 ) | 166 ) |
OLD | NEW |