[libcxx-commits] [libcxx] d066756 - [libc++] Fix some test failures in unusual configurations

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 29 13:23:09 PDT 2020


Author: Louis Dionne
Date: 2020-09-29T16:22:56-04:00
New Revision: d0667562e127925fb845124302ae31f10b3a849d

URL: https://github.com/llvm/llvm-project/commit/d0667562e127925fb845124302ae31f10b3a849d
DIFF: https://github.com/llvm/llvm-project/commit/d0667562e127925fb845124302ae31f10b3a849d.diff

LOG: [libc++] Fix some test failures in unusual configurations

Added: 
    

Modified: 
    libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
    libcxxabi/test/incomplete_type.sh.cpp

Removed: 
    


################################################################################
diff  --git a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
index 074027129274..fcb7aafa48ac 100644
--- a/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
+++ b/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
@@ -24415,7 +24415,7 @@ void test12()
     output_iterator<char*> iter;
     std::locale lc = std::locale::classic();
     std::locale lg(lc, new my_numpunct);
-#ifdef __APPLE__
+#if defined(__APPLE__) && defined(__x86_64__)
 // This test is failing on FreeBSD, possibly due to 
diff erent representations
 // of the floating point numbers.
     const my_facet f(1);

diff  --git a/libcxxabi/test/incomplete_type.sh.cpp b/libcxxabi/test/incomplete_type.sh.cpp
index 41d003a75595..fba24b209256 100644
--- a/libcxxabi/test/incomplete_type.sh.cpp
+++ b/libcxxabi/test/incomplete_type.sh.cpp
@@ -14,6 +14,7 @@
 // addresses.
 
 // UNSUPPORTED: no-exceptions
+// UNSUPPORTED: -fno-rtti
 
 // NOTE: Link libc++abi explicitly and before libc++ so that libc++ doesn't drag
 // in the system libc++abi installation on OS X. (DYLD_LIBRARY_PATH is ignored


        


More information about the libcxx-commits mailing list