# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from gpu_test_expectations import GpuTestExpectations

# See the GpuTestExpectations class for documentation.

class TraceTestExpectations(GpuTestExpectations):
  def SetExpectations(self):
    # Sample Usage:
    # self.Fail('TraceTest.Canvas2DRedBox',
    #     ['mac', 'amd', ('nvidia', 0x1234)], bug=123)

    self.Skip('TraceTest.Canvas2DRedBox')
    self.Skip('TraceTest.CSS3DBlueBox')
    pass

class DeviceTraceTestExpectations(GpuTestExpectations):
  def SetExpectations(self):
    # Device traces are not supported on all machines.
    self.Skip('*')

# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from gpu_test_expectations import GpuTestExpectations

# See the GpuTestExpectations class for documentation.

class TraceTestExpectations(GpuTestExpectations):
  def SetExpectations(self):
    # Sample Usage:
    # self.Fail('TraceTest.Canvas2DRedBox',
    #     ['mac', 'amd', ('nvidia', 0x1234)], bug=123)

    self.Skip('TraceTest.Canvas2DRedBox')
    self.Skip('TraceTest.CSS3DBlueBox')
    # Flaky, mainly on Windows. Leave this un-suppressed on other
    # platforms for the moment to have at least some test coverage.
    # Once test expectations are refactored (Issue 495870), this could
    # be marked flaky.
    self.Fail('TraceTest.WebGLGreenTriangle', ['win'], bug=517232)
    pass

class DeviceTraceTestExpectations(GpuTestExpectations):
  def SetExpectations(self):
    # Device traces are not supported on all machines.
    self.Skip('*')

Mark TraceTest.WebGLGreenTriangle as expected failure on Windows.
Mark TraceTest.WebGLGreenTriangle as expected failure on Windows.

BUG=517232
TBR=dyen@chromium.org

Review URL: https://codereview.chromium.org/1276403003

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#342511}
