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

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

Issue 1547793004: Make gpu black list work again on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Execute todo, send IPC directly from gpu_benchmarking_extension.cc and fixes variable names. Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/test/gpu/page_sets/gpu_process_tests.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_process.py
diff --git a/content/test/gpu/gpu_tests/gpu_process.py b/content/test/gpu/gpu_tests/gpu_process.py
index a27c701594c178945284891d18268a2c76b82880..5dfabdefa6d204cb1e05363e13cb36c28d60cb89 100644
--- a/content/test/gpu/gpu_tests/gpu_process.py
+++ b/content/test/gpu/gpu_tests/gpu_process.py
@@ -30,10 +30,10 @@ class GpuProcessValidator(gpu_test_base.ValidatorBase):
if hasattr(page, 'Validate'):
page.Validate(tab, results)
else:
- has_gpu_process_js = 'chrome.gpuBenchmarking.hasGpuProcess()'
- has_gpu_process = tab.EvaluateJavaScript(has_gpu_process_js)
- if not has_gpu_process:
- raise page_test.Failure('No GPU process detected')
+ has_gpu_channel_js = 'chrome.gpuBenchmarking.hasGpuChannel()'
+ has_gpu_channel = tab.EvaluateJavaScript(has_gpu_channel_js)
+ if not has_gpu_channel:
+ raise page_test.Failure('No GPU channel detected')
class GpuProcess(gpu_test_base.TestBase):
"""Tests that accelerated content triggers the creation of a GPU process"""
« no previous file with comments | « content/renderer/gpu/gpu_benchmarking_extension.cc ('k') | content/test/gpu/page_sets/gpu_process_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698