| 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 'depot_tools/bot_update', | 8 'depot_tools/bot_update', |
| 9 'chromium', | 9 'chromium', |
| 10 'chromium_android', | 10 'chromium_android', |
| (...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 ], | 459 ], |
| 460 }, | 460 }, |
| 461 }) | 461 }) |
| 462 ) | 462 ) |
| 463 ) | 463 ) |
| 464 | 464 |
| 465 yield ( | 465 yield ( |
| 466 api.test('dynamic_swarmed_sharded_passed_isolated_script_test') + | 466 api.test('dynamic_swarmed_sharded_passed_isolated_script_test') + |
| 467 api.properties.generic(mastername='chromium.linux', | 467 api.properties.generic(mastername='chromium.linux', |
| 468 buildername='Linux Tests', | 468 buildername='Linux Tests', |
| 469 parent_buildername='Linux Builder') + | 469 parent_buildername='Linux Builder', |
| 470 got_revision_cp='refs/heads/master@{#291141}', |
| 471 buildnumber="1234") + |
| 470 api.properties(swarm_hashes={ | 472 api.properties(swarm_hashes={ |
| 471 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 473 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee' |
| 472 }) + | 474 }) + |
| 473 api.platform('linux', 64) + | 475 api.platform('linux', 64) + |
| 474 api.override_step_data( | 476 api.override_step_data( |
| 475 'read test spec (chromium.linux.json)', | 477 'read test spec (chromium.linux.json)', |
| 476 api.json.output({ | 478 api.json.output({ |
| 477 'Linux Tests': { | 479 'Linux Tests': { |
| 478 'isolated_scripts': [ | 480 'isolated_scripts': [ |
| 479 { | 481 { |
| 480 'isolate_name': 'telemetry_gpu_unittests', | 482 'isolate_name': 'telemetry_gpu_unittests', |
| 481 'name': 'telemetry_gpu_unittests', | 483 'name': 'telemetry_gpu_unittests', |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 629 api.override_step_data( | 631 api.override_step_data( |
| 630 'telemetry_gpu_unittests on Ubuntu-12.04', | 632 'telemetry_gpu_unittests on Ubuntu-12.04', |
| 631 api.test_utils.canned_isolated_script_output( | 633 api.test_utils.canned_isolated_script_output( |
| 632 passing=True, is_win=False, swarming=True, | 634 passing=True, is_win=False, swarming=True, |
| 633 shards=4, isolated_script_passing=True, valid=True, | 635 shards=4, isolated_script_passing=True, valid=True, |
| 634 empty_shards=[1], output_chartjson=True), | 636 empty_shards=[1], output_chartjson=True), |
| 635 retcode=1) | 637 retcode=1) |
| 636 ) | 638 ) |
| 637 | 639 |
| 638 yield ( | 640 yield ( |
| 641 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_disabled') + |
| 642 api.properties.generic(mastername='chromium.linux', |
| 643 buildername='Linux Tests', |
| 644 parent_buildername='Linux Builder', |
| 645 got_revision_cp='refs/heads/master@{#291141}') + |
| 646 api.properties(swarm_hashes={ |
| 647 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', |
| 648 }) + |
| 649 api.platform('linux', 64) + |
| 650 api.override_step_data( |
| 651 'read test spec (chromium.linux.json)', |
| 652 api.json.output({ |
| 653 'Linux Tests': { |
| 654 'isolated_scripts': [ |
| 655 { |
| 656 'isolate_name': 'telemetry_gpu_unittests', |
| 657 'name': 'telemetry_gpu_unittests', |
| 658 'swarming': { |
| 659 'can_use_on_swarming_builders': True, |
| 660 'shards': 2, |
| 661 }, |
| 662 }, |
| 663 ], |
| 664 }, |
| 665 }) |
| 666 ) + |
| 667 api.override_step_data('telemetry_gpu_unittests on Ubuntu-12.04', |
| 668 api.test_utils.canned_isolated_script_output( |
| 669 passing=True, is_win=False, swarming=True, |
| 670 shards=2, isolated_script_passing=True, valid=True, |
| 671 output_chartjson=True, benchmark_enabled=False), |
| 672 retcode=0) |
| 673 ) |
| 674 |
| 675 yield ( |
| 639 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') + | 676 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') + |
| 640 api.properties.generic(mastername='chromium.linux', | 677 api.properties.generic(mastername='chromium.linux', |
| 641 buildername='Linux Tests', | 678 buildername='Linux Tests', |
| 642 parent_buildername='Linux Builder') + | 679 parent_buildername='Linux Builder', |
| 680 got_revision_cp='refs/heads/master@{#291141}' |
| 681 ) + |
| 643 api.properties(swarm_hashes={ | 682 api.properties(swarm_hashes={ |
| 644 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', | 683 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', |
| 645 }) + | 684 }) + |
| 646 api.platform('linux', 64) + | 685 api.platform('linux', 64) + |
| 647 api.override_step_data( | 686 api.override_step_data( |
| 648 'read test spec (chromium.linux.json)', | 687 'read test spec (chromium.linux.json)', |
| 649 api.json.output({ | 688 api.json.output({ |
| 650 'Linux Tests': { | 689 'Linux Tests': { |
| 651 'isolated_scripts': [ | 690 'isolated_scripts': [ |
| 652 { | 691 { |
| (...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 yield ( | 1476 yield ( |
| 1438 api.test('ensure_goma_fail') + | 1477 api.test('ensure_goma_fail') + |
| 1439 api.properties( | 1478 api.properties( |
| 1440 mastername='chromium.fyi', | 1479 mastername='chromium.fyi', |
| 1441 buildername='Linux remote_run Builder', | 1480 buildername='Linux remote_run Builder', |
| 1442 slavename='build1-a1', | 1481 slavename='build1-a1', |
| 1443 buildnumber='77457', | 1482 buildnumber='77457', |
| 1444 path_config='kitchen') + | 1483 path_config='kitchen') + |
| 1445 api.override_step_data('ensure_goma.ensure_installed', retcode=1) | 1484 api.override_step_data('ensure_goma.ensure_installed', retcode=1) |
| 1446 ) | 1485 ) |
| OLD | NEW |