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