mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-21 18:59:21 +00:00
Skip Buffer OOM tests when using ASAN
ASAN throws when hitting OOM conditions which these tests intentionally try to create. Bug: dawn:450 Change-Id: I635480ae329cd5ace55287d77e2b79e663174f49 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23246 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
90abd47a28
commit
0e9e5ee8aa
@@ -691,6 +691,14 @@ bool DawnTestBase::IsSpvcParserBeingUsed() const {
|
||||
return gTestEnv->IsSpvcParserBeingUsed();
|
||||
}
|
||||
|
||||
bool DawnTestBase::IsAsan() const {
|
||||
#if defined(ADDRESS_SANITIZER)
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
bool DawnTestBase::HasVendorIdFilter() const {
|
||||
return gTestEnv->HasVendorIdFilter();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user