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 DEPS = [ | 10 DEPS = [ |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 if os.path.exists(sys.argv[2]): | 70 if os.path.exists(sys.argv[2]): |
71 shutil.rmtree(sys.argv[2]) | 71 shutil.rmtree(sys.argv[2]) |
72 shutil.move(sys.argv[1], sys.argv[2])""", | 72 shutil.move(sys.argv[1], sys.argv[2])""", |
73 args=[src_dir, dst_dir]) | 73 args=[src_dir, dst_dir]) |
74 | 74 |
75 | 75 |
76 def GenSteps(api): | 76 def GenSteps(api): |
77 buildername = api.properties['buildername'] | 77 buildername = api.properties['buildername'] |
78 recipe_config = DETERMINISTIC_BUILDERS[buildername] | 78 recipe_config = DETERMINISTIC_BUILDERS[buildername] |
79 | 79 |
80 target_name = 'base_unittests' | 80 target_name = 'chrome_run' |
81 | 81 |
82 api.chromium.set_config(recipe_config['chromium_config'], | 82 api.chromium.set_config(recipe_config['chromium_config'], |
83 **recipe_config.get('chromium_config_kwargs', | 83 **recipe_config.get('chromium_config_kwargs', |
84 {'BUILD_CONFIG': 'Release'})) | 84 {'BUILD_CONFIG': 'Release'})) |
85 api.chromium.apply_config('chromium_deterministic_build') | 85 api.chromium.apply_config('chromium_deterministic_build') |
86 for c in recipe_config.get('chromium_apply_config', []): | 86 for c in recipe_config.get('chromium_apply_config', []): |
87 api.chromium.apply_config(c) | 87 api.chromium.apply_config(c) |
88 | 88 |
89 api.gclient.set_config(recipe_config['gclient_config'], | 89 api.gclient.set_config(recipe_config['gclient_config'], |
90 **recipe_config.get('gclient_config_kwargs', {})) | 90 **recipe_config.get('gclient_config_kwargs', {})) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 test_name = 'full_%s_%s' % (_sanitize_nonalpha(mastername), | 128 test_name = 'full_%s_%s' % (_sanitize_nonalpha(mastername), |
129 _sanitize_nonalpha(buildername)) | 129 _sanitize_nonalpha(buildername)) |
130 yield ( | 130 yield ( |
131 api.test(test_name) + | 131 api.test(test_name) + |
132 api.properties.scheduled() + | 132 api.properties.scheduled() + |
133 api.properties.generic(buildername=buildername, | 133 api.properties.generic(buildername=buildername, |
134 mastername=mastername) + | 134 mastername=mastername) + |
135 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + | 135 api.platform(DETERMINISTIC_BUILDERS[buildername]['platform'], 32) + |
136 api.properties(configuration='Release') | 136 api.properties(configuration='Release') |
137 ) | 137 ) |
OLD | NEW |