forked from OSchip/llvm-project
[asan] disable AddressSanitizer.HugeMallocTest if ASAN_AVOID_EXPENSIVE_TESTS is set
llvm-svn: 196097
This commit is contained in:
parent
ce365ca0f4
commit
5236c79932
|
@ -299,7 +299,7 @@ TEST(AddressSanitizer, LargeMallocTest) {
|
|||
}
|
||||
|
||||
TEST(AddressSanitizer, HugeMallocTest) {
|
||||
if (SANITIZER_WORDSIZE != 64) return;
|
||||
if (SANITIZER_WORDSIZE != 64 || ASAN_AVOID_EXPENSIVE_TESTS) return;
|
||||
size_t n_megs = 4100;
|
||||
TestLargeMalloc(n_megs << 20);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue