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': { | |
53 'chromium_config': 'chromium_win_clang', | |
Sébastien Marchand
2015/04/03 00:15:00
here.
| |
54 'gclient_config': 'chromium', | |
55 'platform': 'win', | |
56 }, | |
52 }) | 57 }) |
53 | 58 |
54 | 59 |
55 def MoveBuildDirectory(api, src_dir, dst_dir): | 60 def MoveBuildDirectory(api, src_dir, dst_dir): |
56 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 61 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
57 """ | 62 """ |
58 import os | 63 import os |
59 import shutil | 64 import shutil |
60 import sys | 65 import sys |
61 if os.path.exists(sys.argv[2]): | 66 if os.path.exists(sys.argv[2]): |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
146 _sanitize_nonalpha(buildername)) | 151 _sanitize_nonalpha(buildername)) |
147 yield ( | 152 yield ( |
148 api.test(test_name) + | 153 api.test(test_name) + |
149 api.properties.scheduled() + | 154 api.properties.scheduled() + |
150 api.properties.generic(buildername=buildername, | 155 api.properties.generic(buildername=buildername, |
151 mastername=mastername) + | 156 mastername=mastername) + |
152 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 157 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
153 api.properties(configuration='Release') + | 158 api.properties(configuration='Release') + |
154 api.step_data('remove_build_metadata', retcode=1) | 159 api.step_data('remove_build_metadata', retcode=1) |
155 ) | 160 ) |
OLD | NEW |