OLD | NEW |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
borenet
2014/07/14 19:53:47
Ah - we'll also need to add 'dm' to the list in ht
mtklein
2014/07/14 20:39:47
Done.
| |
2 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2014 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 DM executable. """ | 6 """Run the Skia DM 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 RunDM(BuildStep): | 12 class RunDM(BuildStep): |
13 def _Run(self): | 13 def _Run(self): |
14 args = ['-v'] | 14 args = [ |
15 '--verbose', | |
16 '--resourcePath', self._device_dirs.ResourceDir(), | |
17 ] | |
15 if 'Housekeeper' in self._builder_name: | 18 if 'Housekeeper' in self._builder_name: |
16 args.append('--nogpu') | 19 args.append('--nogpu') |
borenet
2014/07/14 19:53:47
What happens if we compiled without GPU?
mtklein
2014/07/14 20:39:47
The GPU-based tests doubly don't run.
| |
17 | 20 |
18 self._flavor_utils.RunFlavoredCmd('dm', args) | 21 self._flavor_utils.RunFlavoredCmd('dm', args) |
19 | 22 |
20 | 23 |
21 if '__main__' == __name__: | 24 if '__main__' == __name__: |
22 sys.exit(BuildStep.RunBuildStep(RunDM)) | 25 sys.exit(BuildStep.RunBuildStep(RunDM)) |
OLD | NEW |