| 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 # TODO(kbr): flakily timing out on this configuration. | 14 # TODO(kbr): flakily timing out on this configuration. |
| 15 self.Flaky('*', ['linux', 'intel', 'debug'], bug=648369) | 15 self.Flaky('TraceTest_*', ['linux', 'intel', 'debug'], bug=648369) |
| 16 | 16 |
| 17 class DeviceTraceTestExpectations(GpuTestExpectations): | |
| 18 def SetExpectations(self): | |
| 19 # Device traces are not supported on all machines. | 17 # Device traces are not supported on all machines. |
| 20 self.Skip('*') | 18 self.Skip('DeviceTraceTest_*') |
| OLD | NEW |