[compiler-rt] r227106 - [Msan] Disable the ppoll unit test on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Mon Jan 26 10:05:55 PST 2015
Author: vkutuzov
Date: Mon Jan 26 12:05:54 2015
New Revision: 227106
URL: http://llvm.org/viewvc/llvm-project?rev=227106&view=rev
Log:
[Msan] Disable the ppoll unit test on FreeBSD
Differential Revision: http://reviews.llvm.org/D7145
Modified:
compiler-rt/trunk/lib/msan/tests/msan_test.cc
Modified: compiler-rt/trunk/lib/msan/tests/msan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/tests/msan_test.cc?rev=227106&r1=227105&r2=227106&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc (original)
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc Mon Jan 26 12:05:54 2015
@@ -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];
More information about the llvm-commits
mailing list