Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions libc/test/src/wchar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ add_libc_test(
SRCS
mbrtowc_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.__support.wchar.mbstate
libc.src.string.memset
libc.src.wchar.mbrtowc
Expand All @@ -69,7 +69,7 @@ add_libc_test(
SRCS
mbtowc_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.wchar.mbtowc
libc.hdr.types.wchar_t
libc.test.UnitTest.ErrnoCheckingTest
Expand All @@ -82,7 +82,7 @@ add_libc_test(
SRCS
mbstowcs_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.wchar.mbstowcs
libc.hdr.types.wchar_t
libc.test.UnitTest.ErrnoCheckingTest
Expand All @@ -95,7 +95,7 @@ add_libc_test(
SRCS
mblen_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.wchar.mblen
libc.test.UnitTest.ErrnoCheckingTest
)
Expand All @@ -107,7 +107,7 @@ add_libc_test(
SRCS
mbsrtowcs_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.__support.wchar.mbstate
libc.src.string.memset
libc.src.wchar.mbsrtowcs
Expand All @@ -123,7 +123,7 @@ add_libc_test(
SRCS
mbrlen_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.__support.wchar.mbstate
libc.src.string.memset
libc.src.wchar.mbsrlen
Expand All @@ -139,14 +139,14 @@ add_libc_test(
SRCS
mbsnrtowcs_test.cpp
DEPENDS
libc.src.__support.libc_errno
libc.hdr.errno_macros
libc.src.__support.wchar.mbstate
libc.src.string.memset
libc.src.wchar.mbsnrtowcs
libc.hdr.types.mbstate_t
libc.hdr.types.wchar_t
libc.test.UnitTest.ErrnoCheckingTest
)
)

add_libc_test(
mbsinit_test
Expand Down Expand Up @@ -179,11 +179,11 @@ add_libc_test(
SRCS
wcrtomb_test.cpp
DEPENDS
libc.hdr.errno_macros
libc.src.wchar.wcrtomb
libc.src.string.memset
libc.hdr.types.wchar_t
libc.hdr.types.mbstate_t
libc.src.__support.libc_errno
libc.src.__support.wchar.mbstate
libc.test.UnitTest.ErrnoCheckingTest
)
Expand All @@ -195,6 +195,7 @@ add_libc_test(
SRCS
wctomb_test.cpp
DEPENDS
libc.hdr.errno_macros
libc.src.wchar.wctomb
libc.hdr.types.wchar_t
)
Expand Down Expand Up @@ -478,9 +479,9 @@ add_header_library(
HDRS
WcstolTest.h
DEPENDS
libc.hdr.errno_macros
libc.src.__support.CPP.limits
libc.src.__support.CPP.type_traits
libc.src.errno.errno
libc.test.UnitTest.ErrnoCheckingTest
)

Expand Down Expand Up @@ -526,4 +527,4 @@ add_libc_test(
DEPENDS
libc.src.wchar.wcstoull
.wcstol_test_support
)
)
1 change: 1 addition & 0 deletions libc/test/src/wchar/WcstolTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "src/__support/CPP/limits.h"
#include "src/__support/CPP/type_traits.h"
#include "src/__support/macros/properties/architectures.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mblen_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//

#include "src/__support/libc_errno.h"
#include "hdr/errno_macros.h"
#include "src/wchar/mblen.h"
#include "test/UnitTest/ErrnoCheckingTest.h"
#include "test/UnitTest/Test.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbrlen_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/wchar/mbstate.h"
#include "src/string/memset.h"
#include "src/wchar/mbrlen.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbrtowc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/mbstate_t.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/wchar/mbstate.h"
#include "src/string/memset.h"
#include "src/wchar/mbrtowc.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbsnrtowcs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/mbstate_t.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/macros/null_check.h"
#include "src/__support/wchar/mbstate.h"
#include "src/string/memset.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbsrtowcs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/mbstate_t.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/macros/null_check.h"
#include "src/__support/wchar/mbstate.h"
#include "src/string/memset.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbstowcs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/macros/null_check.h"
#include "src/wchar/mbstowcs.h"
#include "test/UnitTest/ErrnoCheckingTest.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/mbtowc_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/wchar/mbtowc.h"
#include "test/UnitTest/ErrnoCheckingTest.h"
#include "test/UnitTest/Test.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/wcrtomb_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/mbstate_t.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/__support/wchar/mbstate.h"
#include "src/string/memset.h"
#include "src/wchar/wcrtomb.h"
Expand Down
2 changes: 1 addition & 1 deletion libc/test/src/wchar/wctomb_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//

#include "hdr/errno_macros.h"
#include "hdr/types/wchar_t.h"
#include "src/__support/libc_errno.h"
#include "src/wchar/wctomb.h"
#include "test/UnitTest/ErrnoCheckingTest.h"
#include "test/UnitTest/Test.h"
Expand Down
Loading