Commit 1e0ad288 authored by aiolos's avatar aiolos Committed by Commit bot

Update presubmit gpu tests.

This is a precursor to deleting tools/telemetry so we don't break the gpu tests
presubmit when that lands.

BUG=478864

Review URL: https://codereview.chromium.org/1644723002

Cr-Commit-Position: refs/heads/master@{#371876}
parent d4566597
...@@ -13,7 +13,10 @@ def _GetPathsToPrepend(input_api): ...@@ -13,7 +13,10 @@ def _GetPathsToPrepend(input_api):
return [ return [
input_api.os_path.join(current_dir, 'gpu_tests'), input_api.os_path.join(current_dir, 'gpu_tests'),
input_api.os_path.join(chromium_src_dir, 'tools', 'perf'), input_api.os_path.join(chromium_src_dir, 'tools', 'perf'),
input_api.os_path.join(chromium_src_dir, 'tools', 'telemetry'), input_api.os_path.join(chromium_src_dir,
'third_party', 'catapult', 'telemetry'),
input_api.os_path.join(chromium_src_dir,
'third_party', 'catapult', 'catapult_base'),
] ]
def _WebGLTextExpectationsTests(input_api, output_api): def _WebGLTextExpectationsTests(input_api, output_api):
......
...@@ -9,7 +9,7 @@ import os ...@@ -9,7 +9,7 @@ import os
import re import re
import tempfile import tempfile
from catapult_base import cloud_storage # pylint: disable=import-error from catapult_base import cloud_storage
from telemetry.page import page_test from telemetry.page import page_test
from telemetry.util import image_util from telemetry.util import image_util
from telemetry.util import rgba_color from telemetry.util import rgba_color
......
...@@ -10,7 +10,7 @@ from gpu_tests import cloud_storage_test_base ...@@ -10,7 +10,7 @@ from gpu_tests import cloud_storage_test_base
from gpu_tests import pixel_expectations from gpu_tests import pixel_expectations
import page_sets import page_sets
from catapult_base import cloud_storage # pylint: disable=import-error from catapult_base import cloud_storage
from telemetry.page import page_test from telemetry.page import page_test
from telemetry.util import image_util from telemetry.util import image_util
......
...@@ -19,7 +19,7 @@ def LoadSupport(input_api): ...@@ -19,7 +19,7 @@ def LoadSupport(input_api):
_GetChromiumSrcDir(input_api), 'third_party', 'catapult', _GetChromiumSrcDir(input_api), 'third_party', 'catapult',
'catapult_base') 'catapult_base')
sys.path = [catapult_base_path] + sys.path sys.path = [catapult_base_path] + sys.path
from catapult_base import cloud_storage # pylint: disable=import-error from catapult_base import cloud_storage
globals()['cloud_storage'] = cloud_storage globals()['cloud_storage'] = cloud_storage
finally: finally:
sys.path = _old_sys_path sys.path = _old_sys_path
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment