| 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 # This recipe is intended to control all of the GPU testers on the | 5 # This recipe is intended to control all of the GPU testers on the |
| 6 # following waterfalls: | 6 # following waterfalls: |
| 7 # chromium.gpu | 7 # chromium.gpu |
| 8 # chromium.gpu.fyi | 8 # chromium.gpu.fyi |
| 9 # chromium.webkit | 9 # chromium.webkit |
| 10 # tryserver.chromium.* | 10 # tryserver.chromium.* |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 api.platform.name(plat) | 74 api.platform.name(plat) |
| 75 ) | 75 ) |
| 76 | 76 |
| 77 yield ( | 77 yield ( |
| 78 api.test('failures_keeps_going') + | 78 api.test('failures_keeps_going') + |
| 79 props('linux', 'Release') + | 79 props('linux', 'Release') + |
| 80 api.platform.name('linux') + | 80 api.platform.name('linux') + |
| 81 api.step_data('content_gl_tests', retcode=1) + | 81 api.step_data('content_gl_tests', retcode=1) + |
| 82 api.step_data('maps_pixel_test', retcode=1) | 82 api.step_data('maps_pixel_test', retcode=1) |
| 83 ) | 83 ) |
| 84 | |
| 85 # Tests that we only run the gpu_unittests isolate if that's all | |
| 86 # that analyze said to rebuild. | |
| 87 angle_unittests_hash = {x: all_hashes[x] for x in ['gpu_unittests']} | |
| 88 yield ( | |
| 89 api.test('analyze_runs_only_gpu_unittests') + | |
| 90 api.properties.tryserver( | |
| 91 mastername='tryserver.chromium.gpu', | |
| 92 buildername='win_gpu', | |
| 93 parent_got_revision=160000, | |
| 94 parent_got_webkit_revision=10000, | |
| 95 parent_got_swarming_client_revision='feaaabcdef', | |
| 96 swarm_hashes=angle_unittests_hash | |
| 97 ) + | |
| 98 api.platform.name('win') | |
| 99 ) | |
| 100 | |
| 101 # Tests that we run nothing if analyze said we didn't have to run anything. | |
| 102 yield ( | |
| 103 api.test('analyze_runs_nothing') + | |
| 104 api.properties.tryserver( | |
| 105 mastername='tryserver.chromium.gpu', | |
| 106 buildername='win_gpu', | |
| 107 parent_got_revision=160000, | |
| 108 parent_got_webkit_revision=10000, | |
| 109 parent_got_swarming_client_revision='feaaabcdef', | |
| 110 swarm_hashes={} | |
| 111 ) + | |
| 112 api.platform.name('win') | |
| 113 ) | |
| 114 | |
| 115 # Tests that swarm_hashes='' doesn't throw an exception. | |
| 116 yield ( | |
| 117 api.test('analyze_does_not_throw_exception') + | |
| 118 api.properties.tryserver( | |
| 119 mastername='tryserver.chromium.gpu', | |
| 120 buildername='win_gpu', | |
| 121 parent_got_revision=160000, | |
| 122 parent_got_webkit_revision=10000, | |
| 123 parent_got_swarming_client_revision='feaaabcdef', | |
| 124 swarm_hashes='' | |
| 125 ) + | |
| 126 api.platform.name('win') | |
| 127 ) | |
| 128 | |
| OLD | NEW |