forked from OSchip/llvm-project
[Msan] Disable the ppoll unit test on FreeBSD
Differential Revision: http://reviews.llvm.org/D7145 llvm-svn: 227106
This commit is contained in:
parent
f298f16ccf
commit
e8dd0ca483
|
@ -782,6 +782,8 @@ TEST(MemorySanitizer, poll) {
|
|||
close(pipefd[1]);
|
||||
}
|
||||
|
||||
// There is no ppoll() on FreeBSD.
|
||||
#if !defined (__FreeBSD__)
|
||||
TEST(MemorySanitizer, ppoll) {
|
||||
int* pipefd = new int[2];
|
||||
int res = pipe(pipefd);
|
||||
|
@ -806,6 +808,7 @@ TEST(MemorySanitizer, ppoll) {
|
|||
close(pipefd[0]);
|
||||
close(pipefd[1]);
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST(MemorySanitizer, poll_positive) {
|
||||
int* pipefd = new int[2];
|
||||
|
|
Loading…
Reference in New Issue