[asan] disable AddressSanitizer.HugeMallocTest if ASAN_AVOID_EXPENSIVE_TESTS is set

llvm-svn: 196097
This commit is contained in:
Kostya Serebryany 2013-12-02 13:22:27 +00:00
parent ce365ca0f4
commit 5236c79932
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}