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

This commit is contained in:
Louis Dionne 2020-09-29 16:21:20 -04:00
parent eff9984dca
commit d0667562e1
2 changed files with 2 additions and 1 deletions

View File

@ -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 different representations
// of the floating point numbers.
const my_facet f(1);

View File

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