forked from OSchip/llvm-project
[asan] disable GetOwnershipStressTest on non-linux
llvm-svn: 152953
This commit is contained in:
parent
1b72f09150
commit
74a908bb85
|
@ -363,6 +363,8 @@ TEST(AddressSanitizerInterface, SetErrorReportCallbackTest) {
|
|||
__asan_set_error_report_callback(NULL);
|
||||
}
|
||||
|
||||
#ifdef __linux__
|
||||
// http://code.google.com/p/address-sanitizer/issues/detail?id=51
|
||||
TEST(AddressSanitizerInterface, GetOwnershipStressTest) {
|
||||
std::vector<char *> pointers;
|
||||
std::vector<size_t> sizes;
|
||||
|
@ -383,3 +385,4 @@ TEST(AddressSanitizerInterface, GetOwnershipStressTest) {
|
|||
for (size_t i = 0, n = pointers.size(); i < n; i++)
|
||||
free(pointers[i]);
|
||||
}
|
||||
#endif // __linux__
|
||||
|
|
Loading…
Reference in New Issue