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 | |
148 if blacklist: | 143 if blacklist: |
149 args.append('--blacklist') | 144 args.append('--blacklist') |
150 args.extend(blacklist) | 145 args.extend(blacklist) |
151 | 146 |
152 match = [] | 147 match = [] |
153 if 'Valgrind' in bot: # skia:3021 | 148 if 'Valgrind' in bot: # skia:3021 |
154 match.append('~Threaded') | 149 match.append('~Threaded') |
155 if 'TSAN' in bot: # skia:3562 | 150 if 'TSAN' in bot: # skia:3562 |
156 match.append('~Math') | 151 match.append('~Math') |
157 | 152 |
(...skipping 20 matching lines...) Expand all Loading... |
178 | 173 |
179 | 174 |
180 def self_test(): | 175 def self_test(): |
181 import coverage # This way the bots don't need coverage.py to be installed. | 176 import coverage # This way the bots don't need coverage.py to be installed. |
182 args = {} | 177 args = {} |
183 cases = [ | 178 cases = [ |
184 'Pretend-iOS-Bot', | 179 'Pretend-iOS-Bot', |
185 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', | 180 'Test-Android-GCC-Nexus9-GPU-TegraK1-Arm64-Debug', |
186 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', | 181 'Test-Android-GCC-GalaxyS3-GPU-Mali400-Arm7-Debug', |
187 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', | 182 'Test-Android-GCC-GalaxyS4-GPU-SGX544-Arm7-Release', |
188 'Test-Android-GCC-Nexus6-GPU-Adreno420-Arm7-Debug', | |
189 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', | 183 'Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release', |
190 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', | 184 'Test-Android-GCC-NexusPlayer-CPU-SSSE3-x86-Release', |
191 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 185 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
192 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', | 186 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-TSAN', |
193 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', | 187 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Valgrind', |
194 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', | 188 'Test-Win7-MSVC-ShuttleA-GPU-HD2000-x86-Debug-ANGLE', |
195 ] | 189 ] |
196 | 190 |
197 cov = coverage.coverage() | 191 cov = coverage.coverage() |
198 cov.start() | 192 cov.start() |
(...skipping 17 matching lines...) Expand all Loading... |
216 if len(sys.argv) == 2 and sys.argv[1] == 'test': | 210 if len(sys.argv) == 2 and sys.argv[1] == 'test': |
217 self_test() | 211 self_test() |
218 sys.exit(0) | 212 sys.exit(0) |
219 | 213 |
220 if len(sys.argv) != 3: | 214 if len(sys.argv) != 3: |
221 print usage | 215 print usage |
222 sys.exit(1) | 216 sys.exit(1) |
223 | 217 |
224 with open(sys.argv[1], 'w') as out: | 218 with open(sys.argv[1], 'w') as out: |
225 json.dump(get_args(sys.argv[2]), out) | 219 json.dump(get_args(sys.argv[2]), out) |
OLD | NEW |