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 'amp', |
7 'bisect_tester', | 8 'bisect_tester', |
8 'chromium', | 9 'chromium', |
9 'chromium_android', | 10 'chromium_android', |
10 'chromium_tests', | 11 'chromium_tests', |
11 'isolate', | 12 'isolate', |
12 'json', | 13 'json', |
13 'path', | 14 'path', |
14 'platform', | 15 'platform', |
15 'properties', | 16 'properties', |
16 'python', | 17 'python', |
17 'raw_io', | 18 'raw_io', |
18 'test_utils', | |
19 'step', | 19 'step', |
20 'swarming', | 20 'swarming', |
| 21 'test_utils', |
21 ] | 22 ] |
22 | 23 |
23 | 24 |
24 def GenSteps(api): | 25 def GenSteps(api): |
25 mastername = api.properties.get('mastername') | 26 mastername = api.properties.get('mastername') |
26 buildername = api.properties.get('buildername') | 27 buildername = api.properties.get('buildername') |
27 | 28 |
28 if mastername == 'tryserver.chromium.perf' and api.chromium.builders[ | 29 if mastername == 'tryserver.chromium.perf' and api.chromium.builders[ |
29 mastername]['builders'][buildername]['bot_type'] == 'tester': | 30 mastername]['builders'][buildername]['bot_type'] == 'tester': |
30 api.bisect_tester.upload_job_url() | 31 api.bisect_tester.upload_job_url() |
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 api.properties.generic( | 450 api.properties.generic( |
450 mastername='chromium.webkit', | 451 mastername='chromium.webkit', |
451 buildername='WebKit XP', | 452 buildername='WebKit XP', |
452 project='chromium', | 453 project='chromium', |
453 parent_buildername='WebKit Win Builder', | 454 parent_buildername='WebKit Win Builder', |
454 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', | 455 parent_got_revision='1e74b372f951d4491f305ec64f6decfcda739e73', |
455 parent_got_webkit_revision='191269', | 456 parent_got_webkit_revision='191269', |
456 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + | 457 revision='1e74b372f951d4491f305ec64f6decfcda739e73') + |
457 api.platform('win', 32) | 458 api.platform('win', 32) |
458 ) | 459 ) |
| 460 |
| 461 yield ( |
| 462 api.test('amp_split_recipe_trigger_failure') + |
| 463 api.properties( |
| 464 mastername='chromium.fyi', |
| 465 buildername='Android Tests (amp split)', |
| 466 slavename='build1-a1', |
| 467 buildnumber='77457', |
| 468 parent_build_archive_url='gs://test-domain/test-archive.zip' |
| 469 ) + |
| 470 api.override_step_data('[trigger] base_unittests', retcode=1) |
| 471 ) |
| 472 |
| 473 yield ( |
| 474 api.test('amp_split_recipe_trigger_local_failure') + |
| 475 api.properties( |
| 476 mastername='chromium.fyi', |
| 477 buildername='Android Tests (amp split)', |
| 478 slavename='build1-a1', |
| 479 buildnumber='77457', |
| 480 parent_build_archive_url='gs://test-domain/test-archive.zip' |
| 481 ) + |
| 482 api.override_step_data('[trigger] base_unittests', retcode=1) + |
| 483 api.override_step_data('base_unittests', retcode=1) |
| 484 ) |
| 485 |
| 486 yield ( |
| 487 api.test('amp_split_recipe_collect_failure') + |
| 488 api.properties( |
| 489 mastername='chromium.fyi', |
| 490 buildername='Android Tests (amp split)', |
| 491 slavename='build1-a1', |
| 492 buildnumber='77457', |
| 493 parent_build_archive_url='gs://test-domain/test-archive.zip' |
| 494 ) + |
| 495 api.override_step_data('[collect] base_unittests', retcode=1) |
| 496 ) |
OLD | NEW |