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

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

Issue 1980243004: GPU test expectations: more precisely detect ANGLE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 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_unittest.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_test_expectations.py
diff --git a/content/test/gpu/gpu_tests/gpu_test_expectations.py b/content/test/gpu/gpu_tests/gpu_test_expectations.py
index 047d46bc6ea8e115b1c890674e55e533ec661cce..0ada4a65eda947f25af5cc4ad39b8f43127fc16b 100644
--- a/content/test/gpu/gpu_tests/gpu_test_expectations.py
+++ b/content/test/gpu/gpu_tests/gpu_test_expectations.py
@@ -123,7 +123,7 @@ class GpuTestExpectations(test_expectations.TestExpectations):
def _GetANGLERenderer(self, gpu_info):
if gpu_info and gpu_info.aux_attributes:
gl_renderer = gpu_info.aux_attributes.get('gl_renderer')
- if gl_renderer:
+ if gl_renderer and 'ANGLE' in gl_renderer:
if 'Direct3D11' in gl_renderer:
return 'd3d11'
elif 'Direct3D9' in gl_renderer:
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/gpu_test_expectations_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698