OLD | NEW |
1 # | 1 # |
2 # Copyright 2015 Google Inc. | 2 # Copyright 2015 Google Inc. |
3 # | 3 # |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 # | 6 # |
7 | 7 |
8 #!/usr/bin/env python | 8 #!/usr/bin/env python |
9 | 9 |
10 usage = ''' | 10 usage = ''' |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 blacklist.extend('pdf skp _ worldjournal'.split(' ')) | 133 blacklist.extend('pdf skp _ worldjournal'.split(' ')) |
134 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) | 134 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' ')) |
135 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) | 135 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' ')) |
136 | 136 |
137 if 'iOS' in bot: | 137 if 'iOS' in bot: |
138 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) | 138 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' ')) |
139 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) | 139 blacklist.extend('gpu image decode _ msaa image decode _'.split(' ')) |
140 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) | 140 blacklist.extend('gpu image subset _ msaa image subset _'.split(' ')) |
141 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) | 141 blacklist.extend('msaa16 gm _ tilemodesProcess'.split(' ')) |
142 | 142 |
| 143 # Disabled until skbug.com/3942 is resolved. |
| 144 if 'Nexus6' in bot: |
| 145 blacklist.extend('_ tests _ WritePixels'.split(' ')) |
| 146 blacklist.extend('_ tests _ FloatingPointTextureTest'.split(' ')) |
| 147 |
143 if blacklist: | 148 if blacklist: |
144 args.append('--blacklist') | 149 args.append('--blacklist') |
145 args.extend(blacklist) | 150 args.extend(blacklist) |
146 | 151 |
147 match = [] | 152 match = [] |
148 if 'Valgrind' in bot: # skia:3021 | 153 if 'Valgrind' in bot: # skia:3021 |
149 match.append('~Threaded') | 154 match.append('~Threaded') |
150 if 'TSAN' in bot: # skia:3562 | 155 if 'TSAN' in bot: # skia:3562 |
151 match.append('~Math') | 156 match.append('~Math') |
152 | 157 |
(...skipping 20 matching lines...) Expand all Loading... |
173 | 178 |
174 | 179 |
175 def self_test(): | 180 def self_test(): |
176 import coverage # This way the bots don't need coverage.py to be installed. | 181 import coverage # This way the bots don't need coverage.py to be installed. |
177 args = {} | 182 args = {} |
178 cases = [ | 183 cases = [ |
179 'Pretend-iOS-Bot', | 184 'Pretend-iOS-Bot', |
180 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', | 185 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', |
181 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', | 186 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', |
182 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', | 187 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', |
| 188 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', |
183 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', | 189 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', |
184 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', | 190 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', |
185 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 191 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
186 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 192 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
187 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', | 193 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', |
188 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 194 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
189 ] | 195 ] |
190 | 196 |
191 cov = coverage.coverage() | 197 cov = coverage.coverage() |
192 cov.start() | 198 cov.start() |
(...skipping 17 matching lines...) Expand all Loading... |
210 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 216 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
211 self_test() | 217 self_test() |
212 sys.exit(0) | 218 sys.exit(0) |
213 | 219 |
214 if len(sys.argv) != 3: | 220 if len(sys.argv) != 3: |
215 print usage | 221 print usage |
216 sys.exit(1) | 222 sys.exit(1) |
217 | 223 |
218 with open(sys.argv[1], 'w') as out: | 224 with open(sys.argv[1], 'w') as out: |
219 json.dump(get_args(sys.argv[2]), out) | 225 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |