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

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

Issue 1565403005: Update gpu_tests to use cloud_storage from catapult. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « no previous file | no next file » | 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 """A library for Chrome GPU test code.""" 4 """A library for Chrome GPU test code."""
5 import os 5 import os
6 import sys 6 import sys
7 7
8 def Init(): 8 def Init():
9 telemetry_path = os.path.join( 9 telemetry_path = os.path.abspath(os.path.join(
10 os.path.dirname(__file__), 10 os.path.dirname(__file__), '..', '..', '..', '..', 'tools', 'telemetry'))
aiolos (Not reviewing) 2016/01/08 21:07:17 I could add a chromium_src_dir here and use it in
Ken Russell (switch to Gerrit) 2016/01/08 22:05:56 Yes, please do that. Thanks.
aiolos (Not reviewing) 2016/01/08 22:16:12 Done.
11 '..', '..', '..', '..', 'tools', 'telemetry') 11 if telemetry_path not in sys.path:
12 absolute_telemetry_path = os.path.abspath(telemetry_path) 12 sys.path.append(telemetry_path)
13 sys.path.append(absolute_telemetry_path) 13
14 catapult_base_path = os.path.abspath(os.path.join(
15 os.path.dirname(__file__), '..', '..', '..', '..', 'third_party',
16 'catapult', 'catapult_base'))
17 if catapult_base_path not in sys.path:
18 sys.path.append(catapult_base_path)
14 19
15 Init() 20 Init()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698