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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/__init__.py
diff --git a/content/test/gpu/gpu_tests/__init__.py b/content/test/gpu/gpu_tests/__init__.py
index 3b4df351fdb2b680fcfc75b209f1cd45b614f550..957281fb3d13ae71906cad92bdd88a0077f03643 100644
--- a/content/test/gpu/gpu_tests/__init__.py
+++ b/content/test/gpu/gpu_tests/__init__.py
@@ -6,10 +6,15 @@ import os
import sys
def Init():
- telemetry_path = os.path.join(
- os.path.dirname(__file__),
- '..', '..', '..', '..', 'tools', 'telemetry')
- absolute_telemetry_path = os.path.abspath(telemetry_path)
- sys.path.append(absolute_telemetry_path)
+ telemetry_path = os.path.abspath(os.path.join(
+ 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.
+ if telemetry_path not in sys.path:
+ sys.path.append(telemetry_path)
+
+ catapult_base_path = os.path.abspath(os.path.join(
+ os.path.dirname(__file__), '..', '..', '..', '..', 'third_party',
+ 'catapult', 'catapult_base'))
+ if catapult_base_path not in sys.path:
+ sys.path.append(catapult_base_path)
Init()
« 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