OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from telemetry.page import test_expectations |
| 6 |
| 7 # Valid expectation conditions are: |
| 8 # |
| 9 # Operating systems: |
| 10 # win, xp, vista, win7, mac, leopard, snowleopard, lion, mountainlion, |
| 11 # linux, chromeos, android |
| 12 # |
| 13 # GPU vendors: |
| 14 # amd, arm, broadcom, hisilicon, intel, imagination, nvidia, qualcomm, |
| 15 # vivante |
| 16 # |
| 17 # Specific GPUs can be listed as a tuple with vendor name and device ID. |
| 18 # Examples: ('nvidia', 0x1234), ('arm', 'Mali-T604') |
| 19 # Device IDs must be paired with a GPU vendor. |
| 20 |
| 21 class MemoryExpectations(test_expectations.TestExpectations): |
| 22 def SetExpectations(self): |
| 23 # Sample Usage: |
| 24 # self.Fail('Memory.CSS3D', |
| 25 # ['mac', 'amd', ('nvidia', 0x1234)], bug=123) |
| 26 |
| 27 self.Fail('Memory.CSS3D', ['mac', ('nvidia', 0x0fd5)], bug=368037) |
| 28 |
| 29 # TODO(vmpstr): Memory drops and increases again, and this |
| 30 # particular bot happens to catch it when its low. Remove |
| 31 # once the bug is fixed. |
| 32 self.Fail('Memory.CSS3D', ['win'], bug=373098) |
| 33 |
| 34 # Test has turned flaky on Linux also. Remove once the bug is fixed. |
| 35 self.Fail('Memory.CSS3D', ['linux'], bug=373098) |
OLD | NEW |