Index: tools/rebaseline_imagefiles.py |
=================================================================== |
--- tools/rebaseline_imagefiles.py (revision 10016) |
+++ tools/rebaseline_imagefiles.py (working copy) |
@@ -77,7 +77,7 @@ |
self._missing_json_is_fatal = missing_json_is_fatal |
self._googlestorage_gm_actuals_root = ( |
'http://chromium-skia-gm.commondatastorage.googleapis.com/gm') |
- self._testname_pattern = re.compile('(\S+)_(\S+).png') |
+ self._testname_pattern = re.compile(gm_json.IMAGE_FILENAME_PATTERN) |
self._is_svn_checkout = ( |
os.path.exists(os.path.join(expectations_root, '.svn')) or |
os.path.exists(os.path.join(expectations_root, os.pardir, '.svn'))) |