| 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 perf. | 6 # Recipe module for Skia Swarming perf. |
| 7 | 7 |
| 8 | 8 |
| 9 DEPS = [ | 9 DEPS = [ |
| 10 'recipe_engine/json', | 10 'recipe_engine/json', |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 test = ( | 66 test = ( |
| 67 api.test(builder) + | 67 api.test(builder) + |
| 68 api.properties(buildername=builder, | 68 api.properties(buildername=builder, |
| 69 mastername=mastername, | 69 mastername=mastername, |
| 70 slavename=slavename, | 70 slavename=slavename, |
| 71 buildnumber=5, | 71 buildnumber=5, |
| 72 revision='abc123', | 72 revision='abc123', |
| 73 swarm_out_dir='[SWARM_OUT_DIR]') + | 73 swarm_out_dir='[SWARM_OUT_DIR]') + |
| 74 api.path.exists( | 74 api.path.exists( |
| 75 api.path['slave_build'].join('skia'), | 75 api.path['slave_build'].join('skia'), |
| 76 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 77 'skimage', 'VERSION'), |
| 76 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 78 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 77 ) | 79 ) |
| 78 ) | 80 ) |
| 79 if ('Android' in builder and | 81 if ('Android' in builder and |
| 80 ('Test' in builder or 'Perf' in builder) and | 82 ('Test' in builder or 'Perf' in builder) and |
| 81 not 'Appurify' in builder): | 83 not 'Appurify' in builder): |
| 82 test += AndroidTestData(builder) | 84 test += AndroidTestData(builder) |
| 83 if 'Trybot' in builder: | 85 if 'Trybot' in builder: |
| 84 test += api.properties(issue=500, | 86 test += api.properties(issue=500, |
| 85 patchset=1, | 87 patchset=1, |
| 86 rietveld='https://codereview.chromium.org') | 88 rietveld='https://codereview.chromium.org') |
| 87 if 'Win' in builder: | 89 if 'Win' in builder: |
| 88 test += api.platform('win', 64) | 90 test += api.platform('win', 64) |
| 89 | 91 |
| 90 yield test | 92 yield test |
| 91 | 93 |
| 94 builder = 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot' |
| 92 yield ( | 95 yield ( |
| 93 api.test('big_issue_number') + | 96 api.test('big_issue_number') + |
| 94 api.properties(buildername='Build-Win-MSVC-x86-Debug', | 97 api.properties(buildername=builder, |
| 95 mastername='client.skia.compile', | 98 mastername='client.skia.compile', |
| 96 slavename='skiabot-linux-swarm-000', | 99 slavename='skiabot-linux-swarm-000', |
| 97 buildnumber=5, | 100 buildnumber=5, |
| 98 revision='abc123', | 101 revision='abc123', |
| 99 swarm_out_dir='[SWARM_OUT_DIR]', | 102 swarm_out_dir='[SWARM_OUT_DIR]', |
| 100 rietveld='https://codereview.chromium.org', | 103 rietveld='https://codereview.chromium.org', |
| 101 patchset=1, | 104 patchset=1, |
| 102 issue=2147533002L) + | 105 issue=2147533002L) + |
| 103 api.path.exists( | 106 api.path.exists( |
| 104 api.path['slave_build'].join('skia'), | 107 api.path['slave_build'].join('skia'), |
| 108 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 109 'skimage', 'VERSION'), |
| 105 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 110 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 106 ) + | 111 ) + |
| 107 api.platform('win', 64) | 112 api.platform('win', 64) |
| 108 ) | 113 ) |
| OLD | NEW |