aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 20:41:43 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-10 20:41:43 +0000
commitd048a3c359e7946c57114565048fe4bcb5f91097 (patch)
tree14dfeaddd0bf09805abc70d6f35787af4ba5cf6f /gm
parentd494b09f554d470fc6411d0924879bbfb0cb0e95 (diff)
Fix a minor regex bug.
Match against '.', rather than any character (how '.' is treated in a regular expression). Previous to this, xfermodes_8888*png matched the expression. R=epoger@google.com Review URL: https://codereview.chromium.org/26709003 git-svn-id: http://skia.googlecode.com/svn/trunk@11714 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/gm_json.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gm_json.py b/gm/gm_json.py
index c2a01f121c..0620bca410 100644
--- a/gm/gm_json.py
+++ b/gm/gm_json.py
@@ -83,7 +83,7 @@ GM_ACTUALS_ROOT_HTTP_URL = (
GM_ACTUALS_ROOT_GS_URL = 'gs://chromium-skia-gm/gm'
# Pattern used to assemble each image's filename
-IMAGE_FILENAME_PATTERN = '(\S+)_(\S+).png' # matches (testname, config)
+IMAGE_FILENAME_PATTERN = '(\S+)_(\S+)\.png' # matches (testname, config)
def CreateGmActualUrl(test_name, hash_type, hash_digest,
gm_actuals_root_url=GM_ACTUALS_ROOT_HTTP_URL):