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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 'gclient_config': 'ios', | 46 'gclient_config': 'ios', |
47 'platform': 'mac', | 47 'platform': 'mac', |
48 'targets': ['all'], | 48 'targets': ['all'], |
49 }, | 49 }, |
50 'Linux deterministic build': { | 50 'Linux deterministic build': { |
51 'chromium_config': 'chromium', | 51 'chromium_config': 'chromium', |
52 'gclient_config': 'chromium', | 52 'gclient_config': 'chromium', |
53 'platform': 'linux', | 53 'platform': 'linux', |
54 }, | 54 }, |
55 'Mac deterministic build': { | 55 'Mac deterministic build': { |
56 # TODO(sebmarchand): Reactivate goma once the indeterminism coming from | 56 'chromium_config': 'chromium', |
57 # it has been fixed. | |
58 'chromium_config': 'chromium_no_goma', | |
59 'gclient_config': 'chromium', | 57 'gclient_config': 'chromium', |
60 'platform': 'mac', | 58 'platform': 'mac', |
61 }, | 59 }, |
62 'Windows deterministic build': { | 60 'Windows deterministic build': { |
63 'chromium_config': 'chromium', | 61 'chromium_config': 'chromium', |
64 'gclient_config': 'chromium', | 62 'gclient_config': 'chromium', |
65 'platform': 'win', | 63 'platform': 'win', |
66 }, | 64 }, |
67 }) | 65 }) |
68 | 66 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 _sanitize_nonalpha(buildername)) | 131 _sanitize_nonalpha(buildername)) |
134 yield ( | 132 yield ( |
135 api.test(test_name) + | 133 api.test(test_name) + |
136 api.properties.scheduled() + | 134 api.properties.scheduled() + |
137 api.properties.generic(buildername=buildername, | 135 api.properties.generic(buildername=buildername, |
138 mastername=mastername) + | 136 mastername=mastername) + |
139 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 137 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
140 api.properties(configuration='Release') + | 138 api.properties(configuration='Release') + |
141 api.step_data('remove_build_metadata', retcode=1) | 139 api.step_data('remove_build_metadata', retcode=1) |
142 ) | 140 ) |
OLD | NEW |