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

Unified Diff: slave/skia_slave_scripts/postrender.py

Issue 295753002: upload SKP renderings that did not match expectations (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: slave/skia_slave_scripts/postrender.py
diff --git a/slave/skia_slave_scripts/postrender.py b/slave/skia_slave_scripts/postrender.py
index f3f22b32646271fbe0855dc30d191a5a9caf97e0..6caf7bfaee297e88f4f6739a4901919a236bbe83 100644
--- a/slave/skia_slave_scripts/postrender.py
+++ b/slave/skia_slave_scripts/postrender.py
@@ -10,16 +10,29 @@ import sys
class PostRender(BuildStep):
- def _Run(self):
+ def _RunAfterGenerateGMs(self):
self._flavor_utils.CopyDirectoryContentsToHost(
self._flavor_utils.DevicePathJoin(self._device_dirs.GMActualDir(),
self._builder_name),
self._gm_actual_dir)
- self._flavor_utils.CopyDirectoryContentsToHost(
- self._device_dirs.SKPOutDir(), self.skp_out_dir)
+
+ def _RunAfterRunDecodingTests(self):
self._flavor_utils.CopyDirectoryContentsToHost(
self._device_dirs.SKImageOutDir(), self._skimage_out_dir)
+ def _RunAfterRenderSKPs(self):
+ self._flavor_utils.CopyDirectoryContentsToHost(
+ self._device_dirs.PlaybackActualImagesDir(),
+ self.playback_actual_images_dir)
+ self._flavor_utils.CopyDirectoryContentsToHost(
+ self._device_dirs.PlaybackActualSummariesDir(),
+ self.playback_actual_summaries_dir)
+
+ def _Run(self):
epoger 2014/05/19 19:35:40 It was more of an issue in prerender.py than here,
borenet 2014/05/19 21:04:38 It's possible that we should just have optional pr
epoger 2014/05/19 22:07:24 Do you mean... 1. Copying GM expectations to the d
+ self._RunAfterGenerateGMs()
+ self._RunAfterRunDecodingTests()
+ self._RunAfterRenderSKPs()
+
if '__main__' == __name__:
sys.exit(BuildStep.RunBuildStep(PostRender))

Powered by Google App Engine
This is Rietveld 408576698