rebaseline.py: until we fix bug 1410, keep going if we can't download an actual GM result

Review URL: https://codereview.chromium.org/19096007

git-svn-id: http://skia.googlecode.com/svn/trunk@10037 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2013-07-12 12:32:32 +00:00
parent ebed410ac7
commit 585f89a8fe

View File

@ -278,8 +278,15 @@ class ImageRebaseliner(object):
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