[Msan] Disable the ppoll unit test on FreeBSD

Differential Revision: http://reviews.llvm.org/D7145

llvm-svn: 227106
This commit is contained in:
Viktor Kutuzov 2015-01-26 18:05:54 +00:00
parent f298f16ccf
commit e8dd0ca483
1 changed files with 3 additions and 0 deletions

View File

@ -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];