| 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 import collections | 5 import collections |
| 6 | 6 |
| 7 from recipe_engine.types import freeze | 7 from recipe_engine.types import freeze |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'amp', | 10 'amp', |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 }, | 407 }, |
| 408 })) + | 408 })) + |
| 409 suppress_analyze() + | 409 suppress_analyze() + |
| 410 api.override_step_data( | 410 api.override_step_data( |
| 411 'telemetry_gpu_unittests (with patch) on Ubuntu-12.04', | 411 'telemetry_gpu_unittests (with patch) on Ubuntu-12.04', |
| 412 api.test_utils.canned_isolated_script_output( | 412 api.test_utils.canned_isolated_script_output( |
| 413 passing=True, is_win=False, swarming=True)) | 413 passing=True, is_win=False, swarming=True)) |
| 414 ) | 414 ) |
| 415 | 415 |
| 416 yield ( | 416 yield ( |
| 417 api.test('swarming_test_with_priority_and_expiration') + |
| 418 props(extra_swarmed_tests=['gl_tests']) + |
| 419 api.platform.name('linux') + |
| 420 api.override_step_data('read test spec (2)', api.json.output({ |
| 421 'Linux Tests': { |
| 422 'gtest_tests': [ |
| 423 { |
| 424 'test': 'gl_tests', |
| 425 'swarming': { |
| 426 'can_use_on_swarming_builders': True, |
| 427 'priority_adjustment': 'higher', |
| 428 'expiration': 7200, |
| 429 }, |
| 430 }, |
| 431 ], |
| 432 }, |
| 433 })) + |
| 434 suppress_analyze() |
| 435 ) |
| 436 |
| 437 yield ( |
| 417 api.test('swarming_trigger_failure') + | 438 api.test('swarming_trigger_failure') + |
| 418 props() + | 439 props() + |
| 419 api.platform.name('linux') + | 440 api.platform.name('linux') + |
| 420 api.override_step_data('read test spec', api.json.output({ | 441 api.override_step_data('read test spec', api.json.output({ |
| 421 'Linux Tests': { | 442 'Linux Tests': { |
| 422 'gtest_tests': [ | 443 'gtest_tests': [ |
| 423 { | 444 { |
| 424 'test': 'base_unittests', | 445 'test': 'base_unittests', |
| 425 'swarming': {'can_use_on_swarming_builders': True}, | 446 'swarming': {'can_use_on_swarming_builders': True}, |
| 426 }, | 447 }, |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 props(mastername='tryserver.v8', | 922 props(mastername='tryserver.v8', |
| 902 buildername='v8_linux_blink_rel', | 923 buildername='v8_linux_blink_rel', |
| 903 patch_project='v8') + | 924 patch_project='v8') + |
| 904 api.platform.name('linux') + | 925 api.platform.name('linux') + |
| 905 suppress_analyze(more_exclusions=['v8/f.*']) + | 926 suppress_analyze(more_exclusions=['v8/f.*']) + |
| 906 api.override_step_data('webkit_tests (with patch)', | 927 api.override_step_data('webkit_tests (with patch)', |
| 907 api.test_utils.canned_test_output(passing=False)) + | 928 api.test_utils.canned_test_output(passing=False)) + |
| 908 api.override_step_data('webkit_tests (without patch)', | 929 api.override_step_data('webkit_tests (without patch)', |
| 909 api.test_utils.canned_test_output(passing=True, minimal=True)) | 930 api.test_utils.canned_test_output(passing=True, minimal=True)) |
| 910 ) | 931 ) |
| OLD | NEW |