Chromium Code Reviews| 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: | |
|
rmistry
2013/10/04 15:18:21
Can you add a link to skia:1699 here?
borenet
2013/10/04 15:24:43
Done.
| |
| 16 self._test_args.extend(['--match', '~WritePixels']) | |
| 15 self._flavor_utils.RunFlavoredCmd('tests', self._test_args) | 17 self._flavor_utils.RunFlavoredCmd('tests', self._test_args) |
| 16 | 18 |
| 17 | 19 |
| 18 if '__main__' == __name__: | 20 if '__main__' == __name__: |
| 19 sys.exit(BuildStep.RunBuildStep(RunTests)) | 21 sys.exit(BuildStep.RunBuildStep(RunTests)) |
| OLD | NEW |