Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Side by Side Diff: content/test/gpu/gpu_tests/webgl_conformance_expectations_unittest.py

Issue 2864883002: Unblock Catapult rolls. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import collections 4 import collections
5 import itertools 5 import itertools
6 import os 6 import os
7 import unittest 7 import unittest
8 8
9 from telemetry.testing import fakes 9 from telemetry.testing import fakes
10 10
(...skipping 14 matching lines...) Expand all
25 25
26 def GetArchName(self): 26 def GetArchName(self):
27 return 'x86_64' 27 return 'x86_64'
28 28
29 def GetOSName(self): 29 def GetOSName(self):
30 return 'win' 30 return 'win'
31 31
32 def GetOSVersionName(self): 32 def GetOSVersionName(self):
33 return 'win8' 33 return 'win8'
34 34
35 def GetOSVersionDetailString(self):
36 # Not sure whether this is accurate.
37 return 'Windows 8.1'
38
35 39
36 class WebGLTestInfo(object): 40 class WebGLTestInfo(object):
37 def __init__(self, url): 41 def __init__(self, url):
38 self.name = ('WebglConformance_%s' % 42 self.name = ('WebglConformance_%s' %
39 url.replace('/', '_').replace('-', '_'). 43 url.replace('/', '_').replace('-', '_').
40 replace('\\', '_').rpartition('.')[0].replace('.', '_')) 44 replace('\\', '_').rpartition('.')[0].replace('.', '_'))
41 self.url = 'file://' + url 45 self.url = 'file://' + url
42 46
43 Conditions = collections.\ 47 Conditions = collections.\
44 namedtuple('Conditions', ['non_gpu', 'vendors', 'devices']) 48 namedtuple('Conditions', ['non_gpu', 'vendors', 'devices'])
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 conflicts = non_gpu_conflicts and gpu_conflicts 146 conflicts = non_gpu_conflicts and gpu_conflicts
143 147
144 if conflicts: 148 if conflicts:
145 print "WARNING: Found a conflict for", pattern, " :" 149 print "WARNING: Found a conflict for", pattern, " :"
146 print " ", c1 150 print " ", c1
147 print " ", c2 151 print " ", c2
148 152
149 print " Type:" + (" (non-gpu)" if non_gpu_conflicts else "") + \ 153 print " Type:" + (" (non-gpu)" if non_gpu_conflicts else "") + \
150 (" (gpu)" if gpu_conflicts else "") 154 (" (gpu)" if gpu_conflicts else "")
151 self.assertEquals(conflicts, False) 155 self.assertEquals(conflicts, False)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698