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

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

Issue 411143003: Add an "in_unit_test_mode" attribute to the environment. Use this to default output format to 'gtes… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comment. Created 6 years, 5 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
Index: content/test/gpu/gpu_tests/hardware_accelerated_feature.py
diff --git a/content/test/gpu/gpu_tests/hardware_accelerated_feature.py b/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
index 45253c478b4477b82ecb27b670f272e96a33f0e2..f7f09642ccfef5246e7f9894abed59117c36f29a 100644
--- a/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
+++ b/content/test/gpu/gpu_tests/hardware_accelerated_feature.py
@@ -26,6 +26,8 @@ test_harness_script = r"""
""";
class _HardwareAcceleratedFeatureValidator(page_test.PageTest):
+ options = {'output_format': 'gtest'}
+
def ValidatePage(self, page, tab, results):
feature = page.feature
if not tab.EvaluateJavaScript('VerifyHardwareAccelerated("%s")' % feature):

Powered by Google App Engine
This is Rietveld 408576698