aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-12 12:32:32 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-12 12:32:32 +0000
commit585f89a8fed85cff52eb3be37e82c994b8e6903e (patch)
tree135731210f70aa9fdb3182ab3eafbb2bf3fa9fd0 /tools
parentebed410ac73932e03956846a766eba9f690a77f3 (diff)
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
Diffstat (limited to 'tools')
-rwxr-xr-xtools/rebaseline_imagefiles.py17
1 files changed, 12 insertions, 5 deletions
diff --git a/tools/rebaseline_imagefiles.py b/tools/rebaseline_imagefiles.py
index c01e36bbd9..da3d87cf37 100755
--- a/tools/rebaseline_imagefiles.py
+++ b/tools/rebaseline_imagefiles.py
@@ -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