| 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_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('TraceTest.Canvas2DRedBox', | 12 # self.Fail('TraceTest.Canvas2DRedBox', |
| 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) | 13 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
| 14 | 14 |
| 15 self.Skip('TraceTest.Canvas2DRedBox', bug=512622) | 15 self.Skip('TraceTest.Canvas2DRedBox', bug=512622) |
| 16 self.Skip('TraceTest.CSS3DBlueBox', bug=512622) | 16 self.Skip('TraceTest.CSS3DBlueBox', bug=512622) |
| 17 | 17 |
| 18 # Test has become increasingly flaky around 7/31/15: crbug.com/517232 | 18 # Test has become increasingly flaky around 7/31/15: crbug.com/517232 |
| 19 self.Fail('TraceTest.WebGLGreenTriangle', bug=517232) | 19 self.Fail('TraceTest.WebGLGreenTriangle', bug=517232) |
| 20 pass | |
| 21 | 20 |
| 22 class DeviceTraceTestExpectations(GpuTestExpectations): | 21 class DeviceTraceTestExpectations(GpuTestExpectations): |
| 23 def SetExpectations(self): | 22 def SetExpectations(self): |
| 24 # Device traces are not supported on all machines. | 23 # Device traces are not supported on all machines. |
| 25 self.Skip('*') | 24 self.Skip('*') |
| OLD | NEW |