Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(227)

Unified Diff: tools/skp/webpages_playback.py

Issue 1053253003: Delete no longer needed pagesets, add new pagesets and make names more readable (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Fix copyright year Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/skp/webpages_playback.py
diff --git a/tools/skp/webpages_playback.py b/tools/skp/webpages_playback.py
index 7f79c4665df38d4419e8bcafe00d32bd8fbbdd90..e81f77c57c948678efa301d34d76746d47fedf2d 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')),

Powered by Google App Engine
This is Rietveld 408576698