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 DEPS = [ | 5 DEPS = [ |
6 'isolate', | 6 'isolate', |
7 'recipe_engine/json', | 7 'recipe_engine/json', |
8 'recipe_engine/path', | 8 'recipe_engine/path', |
9 'recipe_engine/platform', | 9 'recipe_engine/platform', |
10 'recipe_engine/properties', | 10 'recipe_engine/properties', |
11 'recipe_engine/python', | 11 'recipe_engine/python', |
12 'recipe_engine/raw_io', | 12 'recipe_engine/raw_io', |
13 'recipe_engine/step', | 13 'recipe_engine/step', |
14 'swarming_client', | 14 'swarming_client', |
15 'test_utils', | 15 'test_utils', |
16 ] | 16 ] |
17 | 17 |
18 from recipe_engine.recipe_api import Property | 18 try: |
19 from recipe_engine.recipe_api import Property | |
19 | 20 |
20 PROPERTIES = { | 21 PROPERTIES = { |
21 'show_shards_in_collect_step': Property(default=False, kind=bool), | 22 'show_shards_in_collect_step': Property(default=False, kind=bool), |
22 'show_isolated_out_in_collect_step': Property(default=True, kind=bool), | 23 'show_isolated_out_in_collect_step': Property(default=True, kind=bool), |
23 } | 24 } |
25 # When results_merger_unittest is run, these import will raise exception due | |
26 # to recipe_engine not found. We just handle the ImportError gracefully to | |
27 # let results_merger_unittest runnable. | |
Sergiy Byelozyorov
2016/10/05 15:36:06
Why does results_merger_unittest need to import th
nednguyen
2016/10/05 18:50:53
Done. Move results_merger to resources/ help solve
| |
28 except ImportError: # pragma: no cover | |
29 pass | |
OLD | NEW |