OLD | NEW |
---|---|
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 DEPS = [ | 5 DEPS = [ |
6 'auto_bisect', | 6 'auto_bisect', |
7 'bisect_tester', | 7 'bisect_tester', |
8 'chromium', | 8 'chromium', |
9 'chromium_tests', | 9 'chromium_tests', |
10 'depot_tools/gclient', | 10 'depot_tools/gclient', |
(...skipping 11 matching lines...) Expand all Loading... | |
22 buildername = api.properties.get('buildername') | 22 buildername = api.properties.get('buildername') |
23 # TODO(akuegel): Explicitly load the builder configs instead of relying on | 23 # TODO(akuegel): Explicitly load the builder configs instead of relying on |
24 # builder.py from chromium_tests recipe module. | 24 # builder.py from chromium_tests recipe module. |
25 bot_config = api.chromium_tests.create_bot_config_object(mastername, | 25 bot_config = api.chromium_tests.create_bot_config_object(mastername, |
26 buildername) | 26 buildername) |
27 api.chromium_tests.configure_build(bot_config) | 27 api.chromium_tests.configure_build(bot_config) |
28 api.gclient.apply_config('perf') | 28 api.gclient.apply_config('perf') |
29 # TODO(robertocn): remove do_not_nest_wait_for_revision once downstream | 29 # TODO(robertocn): remove do_not_nest_wait_for_revision once downstream |
30 # expectations have been fixed, and make it behave like this by default. | 30 # expectations have been fixed, and make it behave like this by default. |
31 update_step, bot_db = api.chromium_tests.prepare_checkout(bot_config) | 31 update_step, bot_db = api.chromium_tests.prepare_checkout(bot_config) |
32 api.path.c.dynamic_paths['catapult'] = api.path['slave_build'].join( | |
dtu
2016/08/10 01:19:40
What does this do?
RobertoCN
2016/08/10 22:59:54
it makes it so that we can do api.path['catapult']
| |
33 'catapult') | |
32 api.auto_bisect.start_try_job(api, update_step=update_step, bot_db=bot_db, | 34 api.auto_bisect.start_try_job(api, update_step=update_step, bot_db=bot_db, |
33 do_not_nest_wait_for_revision=True) | 35 do_not_nest_wait_for_revision=True) |
34 | 36 |
35 | 37 |
36 def GenTests(api): | 38 def GenTests(api): |
37 yield (api.test('basic') + api.properties.tryserver( | 39 yield (api.test('basic') + api.properties.tryserver( |
38 mastername='tryserver.chromium.perf', | 40 mastername='tryserver.chromium.perf', |
39 buildername='linux_perf_bisect') + api.override_step_data( | 41 buildername='linux_perf_bisect') + api.override_step_data( |
40 'git diff to analyze patch', | 42 'git diff to analyze patch', |
41 api.raw_io.stream_output('tools/auto_bisect/bisect.cfg'))) | 43 api.raw_io.stream_output('tools/auto_bisect/bisect.cfg'))) |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
325 buildername='linux_perf_bisect') + | 327 buildername='linux_perf_bisect') + |
326 api.step_data('saving url to temp file', | 328 api.step_data('saving url to temp file', |
327 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( | 329 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( |
328 'saving json to temp file', | 330 'saving json to temp file', |
329 stdout=api.raw_io.output('/tmp/dummy2')) + | 331 stdout=api.raw_io.output('/tmp/dummy2')) + |
330 api.properties(bisect_config=bisect_ret_code_config) + api.properties( | 332 api.properties(bisect_config=bisect_ret_code_config) + api.properties( |
331 job_name='f7a7b4135624439cbd27fdd5133d74ec') + | 333 job_name='f7a7b4135624439cbd27fdd5133d74ec') + |
332 api.bisect_tester(tempfile='/tmp/dummy') + api.properties( | 334 api.bisect_tester(tempfile='/tmp/dummy') + api.properties( |
333 parent_got_revision='1111111') + api.properties( | 335 parent_got_revision='1111111') + api.properties( |
334 parent_build_archive_url='gs://test-domain/test-archive.zip')) | 336 parent_build_archive_url='gs://test-domain/test-archive.zip')) |
OLD | NEW |