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

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

Issue 16226005: Run skimage on the bots. (Closed) Base URL: https://skia.googlecode.com/svn/buildbot
Patch Set: Created 7 years, 6 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) 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 """ Pulls the directory with render results from the ChomeOS device. """ 6 """ Pulls the directory with render results from the ChomeOS device. """
7 7
8 from chromeos_build_step import ChromeOSBuildStep 8 from chromeos_build_step import ChromeOSBuildStep
9 from build_step import BuildStep 9 from build_step import BuildStep
10 from postrender import PostRender 10 from postrender import PostRender
(...skipping 21 matching lines...) Expand all
32 for img in img_list: 32 for img in img_list:
33 ssh_utils.GetSCP(self._gm_actual_dir, 33 ssh_utils.GetSCP(self._gm_actual_dir,
34 posixpath.join(self._device_dirs.SKPOutDir(), img), 34 posixpath.join(self._device_dirs.SKPOutDir(), img),
35 self._ssh_username, self._ssh_host, self._ssh_port) 35 self._ssh_username, self._ssh_host, self._ssh_port)
36 36
37 ssh_utils.RunSSH(self._ssh_username, self._ssh_host, self._ssh_port, 37 ssh_utils.RunSSH(self._ssh_username, self._ssh_host, self._ssh_port,
38 ['rm', '-rf', self._device_dirs.GMActualDir()]) 38 ['rm', '-rf', self._device_dirs.GMActualDir()])
39 ssh_utils.RunSSH(self._ssh_username, self._ssh_host, self._ssh_port, 39 ssh_utils.RunSSH(self._ssh_username, self._ssh_host, self._ssh_port,
40 ['rm', '-rf', self._device_dirs.SKPOutDir()]) 40 ['rm', '-rf', self._device_dirs.SKPOutDir()])
41 41
42 # Copy skimage results and remove them from the device.
43 ssh_utils.GetSCP(self._skimage_out_dir, self._device_dirs.SKImageOutDir(),
scroggo 2013/06/24 17:43:16 The chrome steps are also untested, but mimic simi
44 self._ssh_username, self._ssh_host, self._ssh_port,
45 recurse=True)
46
47 ssh_utils.RunSSH(self._ssh_username, self._ssh_host, self._ssh_port,
48 ['rm', '-rf', self._device_dirs.SKImageOutDir()])
49
42 50
43 if '__main__' == __name__: 51 if '__main__' == __name__:
44 sys.exit(BuildStep.RunBuildStep(ChromeOSPostRender)) 52 sys.exit(BuildStep.RunBuildStep(ChromeOSPostRender))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698