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 TODO(sebmarchand): This recipe has been moved to the recipe's root directory. | 9 TODO(sebmarchand): This recipe has been moved to the recipe's root directory. |
10 Remove this copy once all the master have been updated. | 10 Remove this copy once all the master have been updated. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 'Mac deterministic build': { | 45 'Mac deterministic build': { |
46 'chromium_config': 'chromium', | 46 'chromium_config': 'chromium', |
47 'gclient_config': 'chromium', | 47 'gclient_config': 'chromium', |
48 'platform': 'mac', | 48 'platform': 'mac', |
49 }, | 49 }, |
50 'Windows deterministic build': { | 50 'Windows deterministic build': { |
51 'chromium_config': 'chromium', | 51 'chromium_config': 'chromium', |
52 'gclient_config': 'chromium', | 52 'gclient_config': 'chromium', |
53 'platform': 'win', | 53 'platform': 'win', |
54 }, | 54 }, |
55 'Windows Clang deterministic build': { | 55 'CrWinClang Deterministic': { |
56 'chromium_config': 'chromium_win_clang', | 56 'chromium_config': 'chromium_win_clang_tot', |
57 'gclient_config': 'chromium', | 57 'gclient_config': 'chromium', |
58 'platform': 'win', | 58 'platform': 'win', |
59 }, | 59 }, |
60 }) | 60 }) |
61 | 61 |
62 | 62 |
63 def MoveBuildDirectory(api, src_dir, dst_dir): | 63 def MoveBuildDirectory(api, src_dir, dst_dir): |
64 api.python.inline('Move %s to %s' % (src_dir, dst_dir), | 64 api.python.inline('Move %s to %s' % (src_dir, dst_dir), |
65 """ | 65 """ |
66 import os | 66 import os |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 _sanitize_nonalpha(buildername)) | 160 _sanitize_nonalpha(buildername)) |
161 yield ( | 161 yield ( |
162 api.test(test_name) + | 162 api.test(test_name) + |
163 api.properties.scheduled() + | 163 api.properties.scheduled() + |
164 api.properties.generic(buildername=buildername, | 164 api.properties.generic(buildername=buildername, |
165 mastername=mastername) + | 165 mastername=mastername) + |
166 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 166 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
167 api.properties(configuration='Release') + | 167 api.properties(configuration='Release') + |
168 api.step_data('remove_build_metadata', retcode=1) | 168 api.step_data('remove_build_metadata', retcode=1) |
169 ) | 169 ) |
OLD | NEW |