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

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

Issue 16226005: Run skimage on the bots. (Closed) Base URL: https://skia.googlecode.com/svn/buildbot
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 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 """ Install all executables, and any runtime resources that are needed by 6 """ Install all executables, and any runtime resources that are needed by
7 *both* Test and Bench builders. """ 7 *both* Test and Bench builders. """
8 8
9 from build_step import BuildStep 9 from build_step import BuildStep
10 from utils import gs_utils 10 from utils import gs_utils
(...skipping 24 matching lines...) Expand all
35 self.CopyDirectoryContentsToDevice(self._skp_dir, 35 self.CopyDirectoryContentsToDevice(self._skp_dir,
36 self._device_dirs.SKPDir()) 36 self._device_dirs.SKPDir())
37 37
38 # Push resources to the device. 38 # Push resources to the device.
39 self.CopyDirectoryContentsToDevice(self._resource_dir, 39 self.CopyDirectoryContentsToDevice(self._resource_dir,
40 self._device_dirs.ResourceDir()) 40 self._device_dirs.ResourceDir())
41 41
42 # Initialize a clean scratch directory. 42 # Initialize a clean scratch directory.
43 self.CreateCleanDirectory(self._device_dirs.TmpDir()) 43 self.CreateCleanDirectory(self._device_dirs.TmpDir())
44 44
45 # Copy expectations file and images to decode in skimage to device.
46 self.CopyDirectoryContentsToDevice(self._skimage_expected_dir,
47 self._device_dirs.SKImageExpectedDir())
48
49 self.CopyDirectoryContentsToDevice(self._skimage_in_dir,
50 self._device_dirs.SKImageInDir())
51
52 # Create an out directory locally for android builds, so the files can be
53 # copied back to the master
54 self.CreateCleanDirectory(self._skimage_out_dir)
55
56 # Create a directory for the output of skimage
57 self.CreateCleanDirectory(self._device_dirs.SKImageOutDir())
45 58
46 if '__main__' == __name__: 59 if '__main__' == __name__:
47 sys.exit(BuildStep.RunBuildStep(Install)) 60 sys.exit(BuildStep.RunBuildStep(Install))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698