From 2745f37875fb0a78e984d9f379df3c493d62613c Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 19 Dec 2018 13:36:53 +0000 Subject: [PATCH] Suppress more failure on GPU FYI Linux AMD Release (R7 240) Tests are run in this order: 1, 2, 3 After suppressing test 2, test 3 started failing on the builder, this seems to point out that test 1 is leaving the driver in a bad state. We add suppressions both 1 and 3 just to be safe. TBR=senorblanco@chromium.org BUG=chromium:915430 Change-Id: Ie601b03f9e5038c623d8b7e009d2a9fb8086d181 Reviewed-on: https://dawn-review.googlesource.com/c/3420 Reviewed-by: Corentin Wallez Reviewed-by: Stephen White Commit-Queue: Corentin Wallez --- src/tests/end2end/InputStateTests.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tests/end2end/InputStateTests.cpp b/src/tests/end2end/InputStateTests.cpp index 219f8f5a60..84754bc050 100644 --- a/src/tests/end2end/InputStateTests.cpp +++ b/src/tests/end2end/InputStateTests.cpp @@ -225,6 +225,9 @@ TEST_P(InputStateTest, Basic) { // Test a stride of 0 works TEST_P(InputStateTest, ZeroStride) { + // This test was failing only on AMD but the OpenGL backend doesn't gather PCI info yet. + DAWN_SKIP_TEST_IF(IsLinux() && IsOpenGL()); + dawn::InputState inputState = MakeInputState({ {0, 0, InputStepMode::Vertex} }, { @@ -301,6 +304,9 @@ TEST_P(InputStateTest, AttributeExpanding) { // Test a stride larger than the attributes TEST_P(InputStateTest, StrideLargerThanAttributes) { + // This test was failing only on AMD but the OpenGL backend doesn't gather PCI info yet. + DAWN_SKIP_TEST_IF(IsLinux() && IsOpenGL()); + dawn::InputState inputState = MakeInputState({ {0, 8 * sizeof(float), InputStepMode::Vertex} }, {