Chromium Code Reviews| 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..80821cff041f8e85aacb5363b5c38c5bced9c40a 100644 |
| --- a/content/test/gpu/gpu_tests/__init__.py |
| +++ b/content/test/gpu/gpu_tests/__init__.py |
| @@ -6,10 +6,12 @@ import os |
| import sys |
| def Init(): |
| - telemetry_path = os.path.join( |
| + perf_path = os.path.join( |
| os.path.dirname(__file__), |
|
aiolos (Not reviewing)
2016/01/15 00:33:04
you should take the abspath of __file__ before tak
eakuefner
2016/01/19 17:21:18
Done.
|
| - '..', '..', '..', '..', 'tools', 'telemetry') |
| - absolute_telemetry_path = os.path.abspath(telemetry_path) |
| - sys.path.append(absolute_telemetry_path) |
| + '..', '..', '..', '..', 'tools', 'perf') |
| + absolute_perf_path = os.path.abspath(perf_path) |
| + sys.path.append(absolute_perf_path) |
| + from chrome_telemetry_build import chromium_config |
| + sys.path.append(chromium_config.GetTelemetryDir()) |
| Init() |