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

Side by Side Diff: content/test/gpu/gpu_tests/pixel.py

Issue 2300653002: [tools/perf] Update code to reference py_utils.cloud_storage (Closed)
Patch Set: update Created 4 years, 3 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
« no previous file with comments | « content/test/gpu/gpu_tests/path_util.py ('k') | content/test/gpu/page_sets/PRESUBMIT.py » ('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 glob 4 import glob
5 import json 5 import json
6 import os 6 import os
7 import re 7 import re
8 8
9 from gpu_tests import cloud_storage_test_base 9 from gpu_tests import cloud_storage_test_base
10 from gpu_tests import pixel_expectations 10 from gpu_tests import pixel_expectations
11 import page_sets 11 import page_sets
12 12
13 from catapult_base import cloud_storage 13 from py_utils import cloud_storage
14 from telemetry.page import page_test 14 from telemetry.page import page_test
15 from telemetry.util import image_util 15 from telemetry.util import image_util
16 16
17 17
18 test_data_dir = os.path.abspath(os.path.join( 18 test_data_dir = os.path.abspath(os.path.join(
19 os.path.dirname(__file__), '..', '..', 'data', 'gpu')) 19 os.path.dirname(__file__), '..', '..', 'data', 'gpu'))
20 20
21 default_reference_image_dir = os.path.join(test_data_dir, 'gpu_reference') 21 default_reference_image_dir = os.path.join(test_data_dir, 'gpu_reference')
22 22
23 test_harness_script = r""" 23 test_harness_script = r"""
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 182
183 def CreateStorySet(self, options): 183 def CreateStorySet(self, options):
184 story_set = page_sets.PixelTestsStorySet(self.GetExpectations(), 184 story_set = page_sets.PixelTestsStorySet(self.GetExpectations(),
185 try_es3=True) 185 try_es3=True)
186 for page in story_set: 186 for page in story_set:
187 page.script_to_evaluate_on_commit = test_harness_script 187 page.script_to_evaluate_on_commit = test_harness_script
188 return story_set 188 return story_set
189 189
190 def _CreateExpectations(self): 190 def _CreateExpectations(self):
191 return pixel_expectations.PixelExpectations() 191 return pixel_expectations.PixelExpectations()
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/path_util.py ('k') | content/test/gpu/page_sets/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698