diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-10-01 08:34:37 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-10-01 08:34:37 +0000 |
commit | 7362982e6229d0563a68f40d63be3acc0fc79ee9 (patch) | |
tree | 7ecb8287d247a6898094e4e1c924b232cf04dbd8 /libcxx/test/support/test_macros.h | |
parent | f0248ca54531125599af8f22e686e1c77de0416a (diff) | |
download | bcm5719-llvm-7362982e6229d0563a68f40d63be3acc0fc79ee9.tar.gz bcm5719-llvm-7362982e6229d0563a68f40d63be3acc0fc79ee9.zip |
Attempt to prevent flaky thread.mutex tests by once again increasing timing tolerances
llvm-svn: 248993
Diffstat (limited to 'libcxx/test/support/test_macros.h')
-rw-r--r-- | libcxx/test/support/test_macros.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/support/test_macros.h b/libcxx/test/support/test_macros.h index 8602f5286ef..420f4fac1ce 100644 --- a/libcxx/test/support/test_macros.h +++ b/libcxx/test/support/test_macros.h @@ -96,4 +96,9 @@ template <unsigned> struct static_assert_check {}; #define TEST_HAS_NO_EXCEPTIONS #endif +#if TEST_HAS_FEATURE(address_sanitizer) || TEST_HAS_FEATURE(memory_sanitizer) || \ + TEST_HAS_FEATURE(thread_sanitizer) +#define TEST_HAS_SANITIZERS +#endif + #endif // SUPPORT_TEST_MACROS_HPP |