OLD | NEW |
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 | 4 |
5 from gpu_tests.gpu_test_expectations import GpuTestExpectations | 5 from gpu_tests.gpu_test_expectations import GpuTestExpectations |
6 | 6 |
7 # See the GpuTestExpectations class for documentation. | 7 # See the GpuTestExpectations class for documentation. |
8 | 8 |
9 class TraceTestExpectations(GpuTestExpectations): | 9 class TraceTestExpectations(GpuTestExpectations): |
10 def SetExpectations(self): | 10 def SetExpectations(self): |
11 # Sample Usage: | 11 # Sample Usage: |
12 # self.Fail('trace_test.Canvas2DRedBox', | 12 # self.Fail('trace_test.Canvas2DRedBox', |
13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
14 pass | 14 self.Skip('trace_test.OffscreenCanvasWebGLGreenBox', bug=563852) |
15 | 15 |
16 class DeviceTraceTestExpectations(GpuTestExpectations): | 16 class DeviceTraceTestExpectations(GpuTestExpectations): |
17 def SetExpectations(self): | 17 def SetExpectations(self): |
18 # Device traces are not supported on all machines. | 18 # Device traces are not supported on all machines. |
19 self.Skip('*') | 19 self.Skip('*') |
OLD | NEW |