aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skp/webpages_playback.py
diff options
context:
space:
mode:
authorGravatar rmistry <rmistry@google.com>2015-04-03 08:22:51 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-03 08:22:51 -0700
commit80bd3ae9d76bcb9bdbf28c978c64134cdd503385 (patch)
tree4bed441494c7eecdc5487f11deb7de6662662c0a /tools/skp/webpages_playback.py
parenteef5b3eb12d5aaf55f43762110af250c79cb0a45 (diff)
Delete no longer needed pagesets, add new pagesets and make names more readable
Deleted all pagesets mentioned in https://code.google.com/p/skia/issues/detail?id=3574#c18 Added new Wikipedia and Unicodetable pagesets from https://code.google.com/p/skia/issues/detail?id=3574#c19 BUG=skia:3574 NOTRY=true Review URL: https://codereview.chromium.org/1053253003
Diffstat (limited to 'tools/skp/webpages_playback.py')
-rw-r--r--tools/skp/webpages_playback.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py
index 7f79c4665d..e81f77c57c 100644
--- a/tools/skp/webpages_playback.py
+++ b/tools/skp/webpages_playback.py
@@ -386,7 +386,7 @@ class SkPicturePlayback(object):
# /path/to/http___mobile_news_sandbox_pt0 -> http___mobile_news_sandbox_pt0
_, webpage = os.path.split(site)
# http___mobile_news_sandbox_pt0 -> mobile_news_sandbox_pt0
- for prefix in ('http___', 'https___'):
+ for prefix in ('http___', 'https___', 'www_'):
if webpage.startswith(prefix):
webpage = webpage[len(prefix):]
# /path/to/skia_yahooanswers_desktop.py -> skia_yahooanswers_desktop.py
@@ -407,6 +407,7 @@ class SkPicturePlayback(object):
filename = self._GetChromiumSkpFileName(page_set, site)
else:
filename = self._GetSkiaSkpFileName(page_set)
+ filename = filename.lower()
# We choose the largest .skp as the most likely to be interesting.
largest_skp = max(glob.glob(os.path.join(site, '*.skp')),