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

Side by Side Diff: content/test/gpu/page_sets/__init__.py

Issue 12252020: Add a telemetry-based gpu_tests folder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_test.py ('k') | content/test/gpu/page_sets/pixel_tests.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import os 4 import os
5 5
6 def GetAllPageSetFilenames(): 6 def GetAllPageSetFilenames():
7 results = [] 7 results = []
8 start_dir = os.path.dirname(__file__) 8 start_dir = os.path.dirname(__file__)
9 for dirpath, _, filenames in os.walk(start_dir): 9 for dirpath, _, filenames in os.walk(start_dir):
10 for f in filenames: 10 for f in filenames:
11 if os.path.splitext(f)[1] != '.json': 11 if os.path.splitext(f)[1] != '.json':
12 continue 12 continue
13 filename = os.path.join(dirpath, f) 13 filename = os.path.join(dirpath, f)
14 results.append(filename) 14 results.append(filename)
15 return results 15 return results
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/pixel_test.py ('k') | content/test/gpu/page_sets/pixel_tests.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698