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

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

Issue 2884643003: Rename android-webview-shell to android-webview-instrumentation (Closed)
Patch Set: format change Created 3 years, 7 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 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 import sys
8 8
9 from gpu_tests import gpu_integration_test 9 from gpu_tests import gpu_integration_test
10 from gpu_tests import path_util 10 from gpu_tests import path_util
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 logging.warning(' New flags: ' + user_js_flags) 281 logging.warning(' New flags: ' + user_js_flags)
282 else: 282 else:
283 browser_options.AppendExtraBrowserArgs([builtin_js_flags]) 283 browser_options.AppendExtraBrowserArgs([builtin_js_flags])
284 284
285 if cls._webgl_version == 2: 285 if cls._webgl_version == 2:
286 browser_options.AppendExtraBrowserArgs([ 286 browser_options.AppendExtraBrowserArgs([
287 '--enable-es3-apis', 287 '--enable-es3-apis',
288 ]) 288 ])
289 browser = browser_finder.FindBrowser(browser_options.finder_options) 289 browser = browser_finder.FindBrowser(browser_options.finder_options)
290 if (browser.target_os.startswith('android') and 290 if (browser.target_os.startswith('android') and
291 browser.browser_type == 'android-webview-shell'): 291 browser.browser_type == 'android-webview-instrumentation'):
292 # TODO(kbr): this is overly broad. We'd like to do this only on 292 # TODO(kbr): this is overly broad. We'd like to do this only on
293 # Nexus 9. It'll go away shortly anyway. crbug.com/499928 293 # Nexus 9. It'll go away shortly anyway. crbug.com/499928
294 # 294 #
295 # The --ignore_egl_sync_failures is only there to work around 295 # The --ignore_egl_sync_failures is only there to work around
296 # some strange failure on the Nexus 9 bot, not reproducible on 296 # some strange failure on the Nexus 9 bot, not reproducible on
297 # local hardware. 297 # local hardware.
298 browser_options.AppendExtraBrowserArgs([ 298 browser_options.AppendExtraBrowserArgs([
299 '--disable-gl-extensions=GL_EXT_disjoint_timer_query', 299 '--disable-gl-extensions=GL_EXT_disjoint_timer_query',
300 '--ignore_egl_sync_failures', 300 '--ignore_egl_sync_failures',
301 ]) 301 ])
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 if webgl_version > 1: 396 if webgl_version > 1:
397 test += '?webglVersion=' + str(webgl_version) 397 test += '?webglVersion=' + str(webgl_version)
398 test_paths.append(test) 398 test_paths.append(test)
399 399
400 return test_paths 400 return test_paths
401 401
402 402
403 def load_tests(loader, tests, pattern): 403 def load_tests(loader, tests, pattern):
404 del loader, tests, pattern # Unused. 404 del loader, tests, pattern # Unused.
405 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__]) 405 return gpu_integration_test.LoadAllTestsInModule(sys.modules[__name__])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698