Suppress BufferMappedAtCreationOOM on Windows

With the recent enabling of PartitionAlloc on Windows this test is
crashing because PartitionAlloc raises an exception on OOM instead of
returning nullptr.

Bug: dawn:579
Change-Id: I07577ef96272dc7ed26f6922c67ed09f1e5ca97d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/33560
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez 2020-11-20 10:05:07 +00:00 committed by Commit Bot service account
parent 75a1f5234e
commit d2953cff41
1 changed files with 4 additions and 0 deletions

View File

@ -726,6 +726,10 @@ TEST_P(BufferTests, BufferMappedAtCreationOOM) {
DAWN_SKIP_TEST_IF(IsOpenGL());
DAWN_SKIP_TEST_IF(IsAsan());
// TODO(http://crbug.com/dawn/579): PartitionAlloc raises an exception on OOM even with
// std::no_throw.
DAWN_SKIP_TEST_IF(IsWindows());
// Test non-mappable buffer
{
wgpu::BufferDescriptor descriptor;