Disables tests that fail to compile
math_h, cmath:
Fails a static assert because isnan(double) and isinf(double) should be
returning bool, but aren't. This is a known problem upstream.
http://libcxx.llvm.org/results.Linux.html
uchar_h, cuchar, version_cuchar:
Bionic does not include this header. According to upstream, this was also a
problem with glibc last time they ran their tests. Docs say this is fixed in
glibc 2.16. http://libcxx.llvm.org/results.Linux.html
wctype_h, cwctype:
This one isn't disabled, but did require a fix. The test was casting 0
directly to a wctype_t, which fails because bionic's wctype_t is an enum.
From the POSIX spec, it looks like bionic is allowed to do so, and this test
should be fixed upstream.
cstdio:
snprintf is a macro in bionic, which make it impossible for <cstdio> to
::using snprintf. There may be a work around for this.
quick_exit:
Bionic supports this, but glibc does not. Also becomes available in glibc
2.16. http://libcxx.llvm.org/results.Linux.html
max_align_t:
Needs investigation.
aligned_storage:
Needs investigation.
Change-Id: I62a5210f6755388dc06cce20d81530a300300bf1
diff --git a/test/strings/c.strings/cwctype.pass.cpp b/test/strings/c.strings/cwctype.pass.cpp
index 6d66415..9d99cbf 100644
--- a/test/strings/c.strings/cwctype.pass.cpp
+++ b/test/strings/c.strings/cwctype.pass.cpp
@@ -92,7 +92,7 @@
{
std::wint_t w = 0;
std::wctrans_t wctr = 0;
- std::wctype_t wct = 0;
+ std::wctype_t wct = (std::wctype_t)0;
static_assert((std::is_same<decltype(std::iswalnum(w)), int>::value), "");
static_assert((std::is_same<decltype(std::iswalpha(w)), int>::value), "");
static_assert((std::is_same<decltype(std::iswblank(w)), int>::value), "");