OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ Run the Skia tests executable. """ | 6 """ Run the Skia tests executable. """ |
7 | 7 |
8 from build_step import BuildStep | 8 from build_step import BuildStep |
9 import sys | 9 import sys |
10 | 10 |
11 | 11 |
12 class RunTests(BuildStep): | 12 class RunTests(BuildStep): |
13 def _Run(self): | 13 def _Run(self): |
14 self._test_args.extend(['--tmpDir', self._device_dirs.TmpDir()]) | 14 self._test_args.extend(['--tmpDir', self._device_dirs.TmpDir()]) |
| 15 if 'Xoom' in self._builder_name: |
| 16 # WritePixels fails on Xoom due to a bug which won't be fixed very soon. |
| 17 # http://code.google.com/p/skia/issues/detail?id=1699 |
| 18 self._test_args.extend(['--match', '~WritePixels']) |
15 self._flavor_utils.RunFlavoredCmd('tests', self._test_args) | 19 self._flavor_utils.RunFlavoredCmd('tests', self._test_args) |
16 | 20 |
17 | 21 |
18 if '__main__' == __name__: | 22 if '__main__' == __name__: |
19 sys.exit(BuildStep.RunBuildStep(RunTests)) | 23 sys.exit(BuildStep.RunBuildStep(RunTests)) |
OLD | NEW |