Skip to content

Commit fd70ded

Browse files
committed
exclude windows
1 parent eb0741a commit fd70ded

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libc/test/src/__support/wchar/wcsnrtombs_test.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,19 @@
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+
1827
TEST(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

0 commit comments

Comments
 (0)