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

Side by Side Diff: content/test/gpu/gpu_tests/cloud_storage_test_base.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/PRESUBMIT.py ('k') | content/test/gpu/gpu_tests/path_util.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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 4
5 """Base classes for a test and validator which upload results 5 """Base classes for a test and validator which upload results
6 (reference images, error images) to cloud storage.""" 6 (reference images, error images) to cloud storage."""
7 7
8 import logging 8 import logging
9 import os 9 import os
10 import re 10 import re
11 import tempfile 11 import tempfile
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 from telemetry.util import rgba_color 16 from telemetry.util import rgba_color
17 17
18 from gpu_tests import gpu_test_base 18 from gpu_tests import gpu_test_base
19 19
20 test_data_dir = os.path.abspath(os.path.join( 20 test_data_dir = os.path.abspath(os.path.join(
21 os.path.dirname(__file__), '..', '..', 'data', 'gpu')) 21 os.path.dirname(__file__), '..', '..', 'data', 'gpu'))
22 22
23 default_generated_data_dir = os.path.join(test_data_dir, 'generated') 23 default_generated_data_dir = os.path.join(test_data_dir, 'generated')
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 default='') 300 default='')
301 group.add_option('--test-machine-name', 301 group.add_option('--test-machine-name',
302 help='Name of the test machine. Specifying this argument causes this ' 302 help='Name of the test machine. Specifying this argument causes this '
303 'script to upload failure images and diffs to cloud storage directly, ' 303 'script to upload failure images and diffs to cloud storage directly, '
304 'instead of relying on the archive_gpu_pixel_test_results.py script.', 304 'instead of relying on the archive_gpu_pixel_test_results.py script.',
305 default='') 305 default='')
306 group.add_option('--generated-dir', 306 group.add_option('--generated-dir',
307 help='Overrides the default on-disk location for generated test images ' 307 help='Overrides the default on-disk location for generated test images '
308 '(only used for local testing without a cloud storage account)', 308 '(only used for local testing without a cloud storage account)',
309 default=default_generated_data_dir) 309 default=default_generated_data_dir)
OLDNEW
« no previous file with comments | « content/test/gpu/PRESUBMIT.py ('k') | content/test/gpu/gpu_tests/path_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698