File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
libc/test/src/__support/wchar Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1111#include " hdr/types/wchar_t.h"
1212#include " src/__support/error_or.h"
1313#include " src/__support/macros/null_check.h"
14+ #include " src/__support/macros/properties/os.h"
1415#include " src/__support/wchar/mbstate.h"
1516#include " src/__support/wchar/wcsnrtombs.h"
1617#include " test/UnitTest/Test.h"
1718
19+ // TODO: add support for 16-bit widechars to remove this macro
20+ #ifdef LIBC_TARGET_OS_IS_WINDOWS
21+ TEST (LlvmLibcStringConverterTest, Windows) {
22+ // pass on windows for now
23+ }
24+
25+ #else
26+
1827TEST (LlvmLibcWcsnrtombs, AllMultibyteLengths) {
1928 LIBC_NAMESPACE::internal::mbstate state;
2029
@@ -201,3 +210,4 @@ TEST(LlvmLibcWcsnrtombs, NullSrc) {
201210 WITH_SIGNAL (-1 ));
202211}
203212#endif // LIBC_HAS_ADDRESS_SANITIZER
213+ #endif
You can’t perform that action at this time.
0 commit comments