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

Unified Diff: content/test/gpu/gpu_tests/gpu_integration_test.py

Issue 2378543002: (Reland) Port WebGL extension availability tests to the integration test harness. (Closed)
Patch Set: Skip WebglExtension_WEBGL_compressed_texture_s3tc_srgb on Android too. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/gpu_test_expectations.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/gpu/gpu_tests/gpu_integration_test.py
diff --git a/content/test/gpu/gpu_tests/gpu_integration_test.py b/content/test/gpu/gpu_tests/gpu_integration_test.py
index 4ad6af24708143a9344431a6f67645db5bbf6945..75df3cbaec20bc4786ad851953674e8940781cc6 100644
--- a/content/test/gpu/gpu_tests/gpu_integration_test.py
+++ b/content/test/gpu/gpu_tests/gpu_integration_test.py
@@ -68,6 +68,12 @@ class GpuIntegrationTest(
# aborts the control flow here.
self.skipTest('SKIPPING TEST due to test expectations')
try:
+ # TODO(nednguyen): For some reason the arguments are getting wrapped
+ # in another tuple sometimes (like in the WebGL extension tests).
+ # Perhaps only if multiple arguments are yielded in the test
+ # generator?
+ if len(args) == 1 and isinstance(args[0], tuple):
+ args = args[0]
self.RunActualGpuTest(url, *args)
except Exception:
if expectation == 'pass':
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/gpu_test_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698