OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 """This recipe runs all isolated tests specified in swarm_hashes property. | 5 """This recipe runs all isolated tests specified in swarm_hashes property. |
6 Isolating a test is required in order to run it using this recipe. | 6 Isolating a test is required in order to run it using this recipe. |
7 """ | 7 """ |
8 | 8 |
9 from infra.libs.infra_types import freeze | 9 from recipe_engine.types import freeze |
10 | 10 |
11 DEPS = [ | 11 DEPS = [ |
12 'chromium', | 12 'chromium', |
13 'isolate', | 13 'isolate', |
14 'properties', | 14 'properties', |
15 'swarming_client', | 15 'swarming_client', |
16 ] | 16 ] |
17 | 17 |
18 # TODO(nodir): pass these arguments from builder to tester once triggering from | 18 # TODO(nodir): pass these arguments from builder to tester once triggering from |
19 # recipes lands. This is needed for ARM testers http://crbug.com/359338 | 19 # recipes lands. This is needed for ARM testers http://crbug.com/359338 |
(...skipping 20 matching lines...) Expand all Loading... |
40 props = api.properties.generic( | 40 props = api.properties.generic( |
41 parent_got_revision=123, | 41 parent_got_revision=123, |
42 parent_got_webkit_revision=321, | 42 parent_got_webkit_revision=321, |
43 parent_got_swarming_client_revision= | 43 parent_got_swarming_client_revision= |
44 'ae8085b09e6162b4ec869e430d7d09c16b32b433', | 44 'ae8085b09e6162b4ec869e430d7d09c16b32b433', |
45 swarm_hashes={ | 45 swarm_hashes={ |
46 "browser_tests": "23f4ed98b3616e695602920b8d6c679091e8d8ce"} | 46 "browser_tests": "23f4ed98b3616e695602920b8d6c679091e8d8ce"} |
47 ) | 47 ) |
48 | 48 |
49 yield api.test('run_isolated_tests') + props | 49 yield api.test('run_isolated_tests') + props |
OLD | NEW |