Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: slave/skia_slave_scripts/run_dm.py

Issue 395443002: Run DM on all bots. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: cleanup slave Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
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 if 'Housekeeper' in self._builder_name: 15 '--verbose',
16 args.append('--nogpu') 16 '--resourcePath', self._device_dirs.ResourceDir(),
17 17 ]
18 self._flavor_utils.RunFlavoredCmd('dm', args) 18 self._flavor_utils.RunFlavoredCmd('dm', args)
19 19
20
21 if '__main__' == __name__: 20 if '__main__' == __name__:
22 sys.exit(BuildStep.RunBuildStep(RunDM)) 21 sys.exit(BuildStep.RunBuildStep(RunDM))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698