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

Side by Side Diff: slave/skia_slave_scripts/android_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 Android device. """ 6 """ Pulls the directory with render results from the Android device. """
7 7
8 from android_build_step import AndroidBuildStep 8 from android_build_step import AndroidBuildStep
9 from build_step import BuildStep 9 from build_step import BuildStep
10 from postrender import PostRender 10 from postrender import PostRender
(...skipping 10 matching lines...) Expand all
21 self._device_dirs.GMActualDir(), 21 self._device_dirs.GMActualDir(),
22 self._gm_image_subdir), 22 self._gm_image_subdir),
23 self._gm_actual_dir]) 23 self._gm_actual_dir])
24 android_utils.RunADB(self._serial, ['pull', self._device_dirs.SKPOutDir(), 24 android_utils.RunADB(self._serial, ['pull', self._device_dirs.SKPOutDir(),
25 self._gm_actual_dir]) 25 self._gm_actual_dir])
26 android_utils.RunADB(self._serial, ['shell', 'rm', '-r', 26 android_utils.RunADB(self._serial, ['shell', 'rm', '-r',
27 self._device_dirs.GMActualDir()]) 27 self._device_dirs.GMActualDir()])
28 android_utils.RunADB(self._serial, ['shell', 'rm', '-r', 28 android_utils.RunADB(self._serial, ['shell', 'rm', '-r',
29 self._device_dirs.SKPOutDir()]) 29 self._device_dirs.SKPOutDir()])
30 30
31 # Pull skimage results from device:
32 android_utils.RunADB(self._serial, ['pull',
scroggo 2013/06/24 17:43:16 The android paths are untested, as I have been una
33 self._device_dirs.SKImageOutDir(),
34 self._skimage_out_dir])
35
36 # And remove them.
37 android_utils.RunADB(self._serial, ['shell', 'rm', '-r',
38 self._device_dirs.SKImageOutDir()])
31 39
32 if '__main__' == __name__: 40 if '__main__' == __name__:
33 sys.exit(BuildStep.RunBuildStep(AndroidPostRender)) 41 sys.exit(BuildStep.RunBuildStep(AndroidPostRender))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698