[compiler-rt] r229386 - [Msan] Disable fcvt unit tests on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Mon Feb 16 05:22:07 PST 2015


Author: vkutuzov
Date: Mon Feb 16 07:22:07 2015
New Revision: 229386

URL: http://llvm.org/viewvc/llvm-project?rev=229386&view=rev
Log:
[Msan] Disable fcvt unit tests on FreeBSD
Differential Revision: http://reviews.llvm.org/D7340

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=229386&r1=229385&r2=229386&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/tests/msan_test.cc (original)
+++ compiler-rt/trunk/lib/msan/tests/msan_test.cc Mon Feb 16 07:22:07 2015
@@ -2170,6 +2170,8 @@ TEST(MemorySanitizer, mmap) {
   }
 }
 
+// There's no fcvt() on FreeBSD.
+#if !defined(__FreeBSD__)
 // FIXME: enable and add ecvt.
 // FIXME: check why msandr does nt handle fcvt.
 TEST(MemorySanitizer, fcvt) {
@@ -2185,7 +2187,10 @@ TEST(MemorySanitizer, fcvt) {
   EXPECT_NOT_POISONED(str[0]);
   ASSERT_NE(0U, strlen(str));
 }
+#endif
 
+// There's no fcvt_long() on FreeBSD.
+#if !defined(__FreeBSD__)
 TEST(MemorySanitizer, fcvt_long) {
   int a, b;
   break_optimization(&a);
@@ -2199,7 +2204,7 @@ TEST(MemorySanitizer, fcvt_long) {
   EXPECT_NOT_POISONED(str[0]);
   ASSERT_NE(0U, strlen(str));
 }
-
+#endif
 
 TEST(MemorySanitizer, memchr) {
   char x[10];





More information about the llvm-commits mailing list