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

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

Issue 2662863002: Add typ boilerplate to Telemetry-based GPU tests. (Closed)
Patch Set: Created 3 years, 10 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 | « content/test/gpu/gpu_tests/trace_integration_test.py ('k') | 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 4
5 import logging 5 import logging
6 import os 6 import os
7 import sys
7 8
8 from gpu_tests import gpu_integration_test 9 from gpu_tests import gpu_integration_test
9 from gpu_tests import path_util 10 from gpu_tests import path_util
10 from gpu_tests import webgl_conformance_expectations 11 from gpu_tests import webgl_conformance_expectations
11 from gpu_tests import webgl2_conformance_expectations 12 from gpu_tests import webgl2_conformance_expectations
12 13
13 from telemetry.internal.browser import browser_finder 14 from telemetry.internal.browser import browser_finder
14 15
15 conformance_relcomps = ( 16 conformance_relcomps = (
16 'third_party', 'webgl', 'src', 'sdk', 'tests') 17 'third_party', 'webgl', 'src', 'sdk', 'tests')
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 # We only check min-version >= 2.0.0 for the top level list. 390 # We only check min-version >= 2.0.0 for the top level list.
390 test_paths += cls._ParseTests( 391 test_paths += cls._ParseTests(
391 include_path, version, webgl2_only, min_version_to_compare) 392 include_path, version, webgl2_only, min_version_to_compare)
392 else: 393 else:
393 test = os.path.join(current_dir, test_name) 394 test = os.path.join(current_dir, test_name)
394 if webgl_version > 1: 395 if webgl_version > 1:
395 test += '?webglVersion=' + str(webgl_version) 396 test += '?webglVersion=' + str(webgl_version)
396 test_paths.append(test) 397 test_paths.append(test)
397 398
398 return test_paths 399 return test_paths
400
401 def load_tests(loader, tests, pattern):
402 del loader, tests, pattern # Unused.
403 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
OLDNEW
« no previous file with comments | « content/test/gpu/gpu_tests/trace_integration_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698