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

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

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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
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 import json 4 import json
5 import optparse 5 import optparse
6 import os 6 import os
7 import sys 7 import sys
8 8
9 import webgl_conformance_expectations 9 import webgl_conformance_expectations
10 10
11 from telemetry import benchmark as benchmark_module 11 from telemetry import benchmark as benchmark_module
12 from telemetry.core import util 12 from telemetry.core import util
13 from telemetry.page import page as page_module
13 from telemetry.page import page_set 14 from telemetry.page import page_set
14 from telemetry.page import page as page_module
15 from telemetry.page import page_test 15 from telemetry.page import page_test
16 16
17 17
18 conformance_path = os.path.join( 18 conformance_path = os.path.join(
19 util.GetChromiumSrcDir(), 19 util.GetChromiumSrcDir(),
20 'third_party', 'webgl', 'src', 'sdk', 'tests') 20 'third_party', 'webgl', 'src', 'sdk', 'tests')
21 21
22 conformance_harness_script = r""" 22 conformance_harness_script = r"""
23 var testHarness = {}; 23 var testHarness = {};
24 testHarness._allTestSucceeded = true; 24 testHarness._allTestSucceeded = true;
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 167
168 if '.txt' in test_name: 168 if '.txt' in test_name:
169 include_path = os.path.join(current_dir, test_name) 169 include_path = os.path.join(current_dir, test_name)
170 test_paths += WebglConformance._ParseTests( 170 test_paths += WebglConformance._ParseTests(
171 include_path, version) 171 include_path, version)
172 else: 172 else:
173 test = os.path.join(current_dir, test_name) 173 test = os.path.join(current_dir, test_name)
174 test_paths.append(test) 174 test_paths.append(test)
175 175
176 return test_paths 176 return test_paths
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/trace_test.py ('k') | content/test/gpu/gpu_tests/webgl_robustness.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698