diff options
author | 2013-10-10 21:09:24 +0000 | |
---|---|---|
committer | 2013-10-10 21:09:24 +0000 | |
commit | d23e683c51abaac6f343b0910db97caf91415bde (patch) | |
tree | c14d6b03a5b2c66bb479b4416b2aece67e747e46 /gm/gm_json.py | |
parent | e50d9a1fcd9c4298079ff54f9a40c9708d30f8c6 (diff) |
Add ability to rebaseline skimage to rebaseline.py
Skip pattern matching for skimage, since the skimage results do not
match the pattern.
Automatically fill in expectations_root and actuals_base_url when
--skimage is specified.
Requires a change to move the expectations files to the right place.
Depends on https://codereview.chromium.org/26734006
(SkipBuildBotRuns)
BUG=skia:1466
R=epoger@google.com
Review URL: https://codereview.chromium.org/26666004
git-svn-id: http://skia.googlecode.com/svn/trunk@11717 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/gm_json.py')
-rw-r--r-- | gm/gm_json.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/gm_json.py b/gm/gm_json.py index 0620bca410..1d8da9f127 100644 --- a/gm/gm_json.py +++ b/gm/gm_json.py @@ -13,6 +13,7 @@ __author__ = 'Elliot Poger' # system-level imports import json +import os # Key strings used in GM results JSON files (both expected-results.json and @@ -82,6 +83,12 @@ GM_ACTUALS_ROOT_HTTP_URL = ( # as a GS URL that allows credential-protected write access: GM_ACTUALS_ROOT_GS_URL = 'gs://chromium-skia-gm/gm' +# Root directory where buildbots store skimage actual results json files. +SKIMAGE_ACTUALS_BASE_URL = ( + 'http://chromium-skia-gm.commondatastorage.googleapis.com/skimage/actuals') +# Root directory inside trunk where skimage expectations are stored. +SKIMAGE_EXPECTATIONS_ROOT = os.path.join('expectations', 'skimage') + # Pattern used to assemble each image's filename IMAGE_FILENAME_PATTERN = '(\S+)_(\S+)\.png' # matches (testname, config) |