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

Unified Diff: gm/rebaseline_server/compare_rendered_pictures.py

Issue 491063002: rebaseline_server: if creating brand new expectations files, include the header (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | gm/rebaseline_server/writable_expectations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/compare_rendered_pictures.py
diff --git a/gm/rebaseline_server/compare_rendered_pictures.py b/gm/rebaseline_server/compare_rendered_pictures.py
index a6e0aa0bc54e3d33e84d522d44c690854c036d46..cf0fa228b7092cdeb4316b99001d298b9fce1a8e 100755
--- a/gm/rebaseline_server/compare_rendered_pictures.py
+++ b/gm/rebaseline_server/compare_rendered_pictures.py
@@ -351,6 +351,8 @@ class RenderedPicturesComparisons(results.BaseComparisons):
result_dict: dictionary holding output of render_pictures; if None,
this method will return without raising an Exception
"""
+ # TODO(stephana): These values should be defined as constants somewhere,
+ # to be kept in sync between this file and writable_expectations.py
expected_header_type = 'ChecksummedImages'
expected_header_revision = 1
« no previous file with comments | « no previous file | gm/rebaseline_server/writable_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698