Commit 3da8c168 authored by chrisha@chromium.org's avatar chrisha@chromium.org

Fix an ADDRESS_SANITIZER guard so that it works with SyzyASAN.

BUG=357024

Review URL: https://codereview.chromium.org/217023002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260188 0039d316-1c4b-4281-b951-d872f2087c98
parent 61e3a402
......@@ -94,10 +94,10 @@ TEST(ToolsSanityTest, MemoryLeak) {
leak[4] = 1; // Make sure the allocated memory is used.
}
#if defined(ADDRESS_SANITIZER) && (defined(OS_IOS) || defined(OS_WIN))
#if (defined(ADDRESS_SANITIZER) && defined(OS_IOS)) || defined(SYZYASAN)
// Because iOS doesn't support death tests, each of the following tests will
// crash the whole program under Asan. On Windows Asan is based on SyzyAsan, the
// error report mecanism is different than with Asan so those test will fail.
// crash the whole program under Asan. On Windows Asan is based on SyzyAsan; the
// error report mechanism is different than with Asan so these tests will fail.
#define MAYBE_AccessesToNewMemory DISABLED_AccessesToNewMemory
#define MAYBE_AccessesToMallocMemory DISABLED_AccessesToMallocMemory
#else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment