diff options
author | 2017-05-05 18:24:51 +0000 | |
---|---|---|
committer | 2017-05-05 18:24:53 +0000 | |
commit | c286d17a84c0719fc672db4eef81a9429f7d6ce4 (patch) | |
tree | 01ff9f863a2a74cf319f66b9d2516ce6b4b52f67 /runtime/common_runtime_test.h | |
parent | 853656aaa0bf99e452211cb8f18a4b1bae70325e (diff) | |
parent | f4a67fd8da796ac9bb96854a942d87f1825ea390 (diff) |
Merge "ART: Disable parts of tests under sanitization"
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r-- | runtime/common_runtime_test.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h index 56e8aa3685..a29cc6cd38 100644 --- a/runtime/common_runtime_test.h +++ b/runtime/common_runtime_test.h @@ -249,6 +249,12 @@ class CheckJniAbortCatcher { return; \ } +#define TEST_DISABLED_FOR_MEMORY_TOOL_ASAN() \ + if (RUNNING_ON_MEMORY_TOOL > 0 && !kMemoryToolIsValgrind) { \ + printf("WARNING: TEST DISABLED FOR MEMORY TOOL ASAN\n"); \ + return; \ + } + } // namespace art namespace std { |