| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'adb', | 6 'adb', |
| 7 'bisect_tester', | 7 'bisect_tester', |
| 8 'chromium', | 8 'chromium', |
| 9 'chromium_android', | 9 'chromium_android', |
| 10 'chromium_tests', | 10 'chromium_tests', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 mastername = api.properties.get('mastername') | 25 mastername = api.properties.get('mastername') |
| 26 buildername = api.properties.get('buildername') | 26 buildername = api.properties.get('buildername') |
| 27 | 27 |
| 28 if mastername == 'tryserver.chromium.perf' and api.chromium.builders[ | 28 if mastername == 'tryserver.chromium.perf' and api.chromium.builders[ |
| 29 mastername]['builders'][buildername]['bot_type'] == 'tester': | 29 mastername]['builders'][buildername]['bot_type'] == 'tester': |
| 30 api.bisect_tester.upload_job_url() | 30 api.bisect_tester.upload_job_url() |
| 31 | 31 |
| 32 api.chromium_tests.configure_build(mastername, buildername) | 32 api.chromium_tests.configure_build(mastername, buildername) |
| 33 update_step, master_dict, test_spec = \ | 33 update_step, master_dict, test_spec = \ |
| 34 api.chromium_tests.prepare_checkout(mastername, buildername) | 34 api.chromium_tests.prepare_checkout(mastername, buildername) |
| 35 |
| 36 tests = api.chromium_tests.tests_for_builder( |
| 37 mastername, buildername, update_step, master_dict) |
| 38 |
| 39 if api.chromium.c.project_generator.tool == 'mb': |
| 40 swarming_targets = [t.name for t in tests if t.uses_swarming] |
| 41 api.m.chromium.run_mb(mastername, buildername, |
| 42 swarming_targets=swarming_targets) |
| 43 |
| 35 api.chromium_tests.compile(mastername, buildername, update_step, master_dict, | 44 api.chromium_tests.compile(mastername, buildername, update_step, master_dict, |
| 36 test_spec) | 45 test_spec) |
| 37 tests = api.chromium_tests.tests_for_builder( | |
| 38 mastername, buildername, update_step, master_dict) | |
| 39 | 46 |
| 40 if not tests: | 47 if not tests: |
| 41 return | 48 return |
| 42 | 49 |
| 43 api.chromium_tests.configure_swarming('chromium', precommit=False, | 50 api.chromium_tests.configure_swarming('chromium', precommit=False, |
| 44 mastername=mastername) | 51 mastername=mastername) |
| 45 test_runner = api.chromium_tests.create_test_runner(api, tests) | 52 test_runner = api.chromium_tests.create_test_runner(api, tests) |
| 46 with api.chromium_tests.wrap_chromium_tests(mastername): | 53 with api.chromium_tests.wrap_chromium_tests(mastername): |
| 47 test_runner() | 54 test_runner() |
| 48 | 55 |
| (...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 api.properties.generic( | 456 api.properties.generic( |
| 450 mastername='chromium.webkit', | 457 mastername='chromium.webkit', |
| 451 buildername='WebKit XP', | 458 buildername='WebKit XP', |
| 452 project='chromium', | 459 project='chromium', |
| 453 parent_buildername='WebKit Win Builder', | 460 parent_buildername='WebKit Win Builder', |
| 454 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', | 461 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', |
| 455 parent_got_webkit_revision='191269', | 462 parent_got_webkit_revision='191269', |
| 456 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + | 463 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + |
| 457 api.platform('win', 32) | 464 api.platform('win', 32) |
| 458 ) | 465 ) |
| OLD | NEW |