Commit 780bdace by Geoff Lang Committed by Commit Bot

Suppress error messages in ANGLE end2end tests on Nexus6P.

GL errors are generated during initialization on this device. Suppress them until enough logging is in place to debug. BUG=998503 BUG=angleproject:3020 Change-Id: I74a51a661a930ea89b0234dcb3e6213288e75c86 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1774468Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
parent 566c2e3c
...@@ -493,6 +493,14 @@ void ANGLETestBase::ANGLETestSetUp() ...@@ -493,6 +493,14 @@ void ANGLETestBase::ANGLETestSetUp()
gPlatformContext.warningsAsErrors = false; gPlatformContext.warningsAsErrors = false;
gPlatformContext.currentTest = this; gPlatformContext.currentTest = this;
// TODO(geofflang): Nexus6P generates GL errors during initialization. Suppress error messages
// temporarily until enough logging is in place to figure out exactly which calls generate
// errors. http://crbug.com/998503
if (IsNexus6P())
{
gPlatformContext.ignoreMessages = true;
}
if (IsWindows()) if (IsWindows())
{ {
const auto &info = testing::UnitTest::GetInstance()->current_test_info(); const auto &info = testing::UnitTest::GetInstance()->current_test_info();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment