| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 from telemetry.page import test_expectations | 5 from telemetry.page import test_expectations |
| 6 | 6 |
| 7 # Valid expectation conditions are: | 7 # Valid expectation conditions are: |
| 8 # win xp vista win7 | 8 # win xp vista win7 |
| 9 # mac leopard snowleopard lion mountainlion | 9 # mac leopard snowleopard lion mountainlion |
| 10 # linux chromeos android | 10 # linux chromeos android |
| 11 # nvidia amd intel | 11 # nvidia amd intel |
| 12 # Specific gpu's can be listed as a tuple with vendor name and device ID. |
| 13 # Example: ('nvidia', 0x1234) |
| 14 # Device ID's must be paired with a gpu vendor. |
| 12 | 15 |
| 13 class WebGLConformanceExpectations(test_expectations.TestExpectations): | 16 class WebGLConformanceExpectations(test_expectations.TestExpectations): |
| 14 def SetExpectations(self): | 17 def SetExpectations(self): |
| 15 # Sample Usage: | 18 # Sample Usage: |
| 16 # self.Fail("gl-enable-vertex-attrib.html", ["mac", "win"], bug=1234) | 19 # self.Fail("gl-enable-vertex-attrib.html", |
| 20 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
| 17 self.Fail('uniform-samplers-test.html', ['android'], bug=272080) | 21 self.Fail('uniform-samplers-test.html', ['android'], bug=272080) |
| OLD | NEW |