| OLD | NEW | 
|---|
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 5 | 
| 6 # Recipe module for Skia Swarming test. | 6 # Recipe module for Skia Swarming test. | 
| 7 | 7 | 
| 8 | 8 | 
| 9 DEPS = [ | 9 DEPS = [ | 
|  | 10   'depot_tools/infra_paths', | 
| 10   'recipe_engine/json', | 11   'recipe_engine/json', | 
| 11   'recipe_engine/path', | 12   'recipe_engine/path', | 
| 12   'recipe_engine/platform', | 13   'recipe_engine/platform', | 
| 13   'recipe_engine/properties', | 14   'recipe_engine/properties', | 
| 14   'recipe_engine/raw_io', | 15   'recipe_engine/raw_io', | 
| 15   'skia', | 16   'skia', | 
| 16 ] | 17 ] | 
| 17 | 18 | 
| 18 | 19 | 
| 19 TEST_BUILDERS = { | 20 TEST_BUILDERS = { | 
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 66     for slavename, builders_by_slave in slaves.iteritems(): | 67     for slavename, builders_by_slave in slaves.iteritems(): | 
| 67       for builder in builders_by_slave: | 68       for builder in builders_by_slave: | 
| 68         test = ( | 69         test = ( | 
| 69           api.test(builder) + | 70           api.test(builder) + | 
| 70           api.properties(buildername=builder, | 71           api.properties(buildername=builder, | 
| 71                          mastername=mastername, | 72                          mastername=mastername, | 
| 72                          slavename=slavename, | 73                          slavename=slavename, | 
| 73                          buildnumber=5, | 74                          buildnumber=5, | 
| 74                          revision='abc123', | 75                          revision='abc123', | 
| 75                          swarm_out_dir='[SWARM_OUT_DIR]') + | 76                          swarm_out_dir='[SWARM_OUT_DIR]') + | 
| 76           api.path.exists( | 77           api.infra_paths.exists( | 
| 77               api.path['slave_build'].join('skia'), | 78               api.infra_paths['slave_build'].join('skia'), | 
| 78               api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 79               api.infra_paths['slave_build'].join('tmp', 'uninteresting_hashes.t
    xt') | 
| 79           ) | 80           ) | 
| 80         ) | 81         ) | 
| 81         if ('Android' in builder and | 82         if ('Android' in builder and | 
| 82             ('Test' in builder or 'Perf' in builder) and | 83             ('Test' in builder or 'Perf' in builder) and | 
| 83             not 'Appurify' in builder): | 84             not 'Appurify' in builder): | 
| 84           test += AndroidTestData(builder) | 85           test += AndroidTestData(builder) | 
| 85         if 'Trybot' in builder: | 86         if 'Trybot' in builder: | 
| 86           test += api.properties(issue=500, | 87           test += api.properties(issue=500, | 
| 87                                  patchset=1, | 88                                  patchset=1, | 
| 88                                  rietveld='https://codereview.chromium.org') | 89                                  rietveld='https://codereview.chromium.org') | 
| 89         if 'Win' in builder: | 90         if 'Win' in builder: | 
| 90           test += api.platform('win', 64) | 91           test += api.platform('win', 64) | 
| 91 | 92 | 
| 92 | 93 | 
| 93         yield test | 94         yield test | 
| 94 | 95 | 
| OLD | NEW | 
|---|