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

Unified Diff: tools/rebaseline_imagefiles.py

Issue 19096007: rebaseline.py: until we fix bug 1410, keep going if we can't download an actual GM result (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/rebaseline_imagefiles.py
===================================================================
--- tools/rebaseline_imagefiles.py (revision 10035)
+++ tools/rebaseline_imagefiles.py (working copy)
@@ -278,8 +278,15 @@
continue
outfilename = os.path.join(self._expectations_root, subdir,
filename);
- self._RebaselineOneFile(expectations_subdir=subdir,
- builder_name=builder,
- infilename=filename,
- outfilename=outfilename,
- all_results=all_results)
+ # TODO(epoger): Until we resolve
+ # https://code.google.com/p/skia/issues/detail?id=1410 ('some GM
+ # result images not available for download from Google Storage'),
+ # keep going in the face of missing results for any one test.
+ try:
+ self._RebaselineOneFile(expectations_subdir=subdir,
+ builder_name=builder,
+ infilename=filename,
+ outfilename=outfilename,
+ all_results=all_results)
+ except Exception as e:
+ print 'WARNING: swallowing exception %s' % e
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698