| Index: sandbox/linux/tests/unit_tests.h
|
| diff --git a/sandbox/linux/tests/unit_tests.h b/sandbox/linux/tests/unit_tests.h
|
| index 0cb682b0615731fcea69f5b201e7639a896e94a8..bc1939c9a147bd9c93b181d89473eeeb3e672a71 100644
|
| --- a/sandbox/linux/tests/unit_tests.h
|
| +++ b/sandbox/linux/tests/unit_tests.h
|
| @@ -19,6 +19,12 @@ bool IsArchitectureArm();
|
| // Is Valgrind currently being used?
|
| bool IsRunningOnValgrind();
|
|
|
| +#if defined(ADDRESS_SANITIZER)
|
| +#define DISABLE_ON_ASAN(test_name) DISABLED_##test_name
|
| +#else
|
| +#define DISABLE_ON_ASAN(test_name) test_name
|
| +#endif // defined(ADDRESS_SANITIZER)
|
| +
|
| #if defined(THREAD_SANITIZER)
|
| #define DISABLE_ON_TSAN(test_name) DISABLED_##test_name
|
| #else
|
|
|