Skip to content

Commit 7413151

Browse files
committed
remove stringconverter test from windows cmake
1 parent 8b4edac commit 7413151

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

libc/test/src/__support/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,6 @@ add_subdirectory(time)
277277
add_subdirectory(threads)
278278
# Requires access to uchar header which is not on MacOS
279279
# Cannot currently build this on MacOS in overlay mode
280-
if(NOT (LIBC_TARGET_OS_IS_DARWIN))
280+
if(NOT(LIBC_TARGET_OS_IS_DARWIN))
281281
add_subdirectory(wchar)
282282
endif()

libc/test/src/__support/wchar/CMakeLists.txt

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,19 @@ add_libc_test(
2020
libc.src.__support.wchar.character_converter
2121
)
2222

23-
add_libc_test(
24-
string_converter_test.cpp
25-
SUITE
26-
libc-support-tests
27-
SRCS
23+
24+
if(NOT(LIBC_TARGET_OS_IS_WINDOWS))
25+
add_libc_test(
2826
string_converter_test.cpp
29-
DEPENDS
30-
libc.src.__support.wchar.string_converter
31-
libc.src.__support.wchar.mbstate
32-
libc.src.__support.error_or
33-
libc.hdr.errno_macros
34-
libc.hdr.types.char32_t
35-
)
27+
SUITE
28+
libc-support-tests
29+
SRCS
30+
string_converter_test.cpp
31+
DEPENDS
32+
libc.src.__support.wchar.string_converter
33+
libc.src.__support.wchar.mbstate
34+
libc.src.__support.error_or
35+
libc.hdr.errno_macros
36+
libc.hdr.types.char32_t
37+
)
38+
endif()

0 commit comments

Comments
 (0)