From ef8b50f9d28ca8f6405618a795927a1eab016f7f Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Wed, 31 Aug 2022 00:49:18 +0000 Subject: [PATCH] Suppress an additional OOM allocation test on M1. Bug: dawn:1506 Change-Id: I0ebd89c17284ff724a5cf8b875fbb01d2366f3e5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100703 Commit-Queue: Corentin Wallez Reviewed-by: Austin Eng --- src/dawn/tests/end2end/BufferTests.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dawn/tests/end2end/BufferTests.cpp b/src/dawn/tests/end2end/BufferTests.cpp index b8d7a26699..443fe64c61 100644 --- a/src/dawn/tests/end2end/BufferTests.cpp +++ b/src/dawn/tests/end2end/BufferTests.cpp @@ -821,6 +821,10 @@ TEST_P(BufferTests, CreateBufferOOM) { // Test that a very large buffer mappedAtCreation fails gracefully. TEST_P(BufferTests, BufferMappedAtCreationOOM) { + // TODO(crbug.com/dawn/1506): new (std::nothrow) crashes on OOM on Mac ARM64 because libunwind + // doesn't see the previous catchall try-catch. + DAWN_SUPPRESS_TEST_IF(DAWN_PLATFORM_IS(MACOS) && DAWN_PLATFORM_IS(ARM64)); + // TODO(http://crbug.com/dawn/749): Missing support. DAWN_TEST_UNSUPPORTED_IF(IsOpenGL()); DAWN_TEST_UNSUPPORTED_IF(IsOpenGLES());