Skip to content

Commit 9bf601f

Browse files
git add file I forgot
1 parent 3e00483 commit 9bf601f

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

libc/test/src/strings/CMakeLists.txt

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
add_custom_target(libc-strings-tests)
2+
3+
add_libc_test(
4+
bcopy_test
5+
SUITE
6+
libc-strings-tests
7+
SRCS
8+
bcopy_test.cpp
9+
DEPENDS
10+
libc.src.strings.bcopy
11+
LINK_LIBRARIES
12+
LibcMemoryHelpers
13+
)
14+
15+
add_libc_test(
16+
index_test
17+
SUITE
18+
libc-strings-tests
19+
SRCS
20+
index_test.cpp
21+
DEPENDS
22+
libc.src.strings.index
23+
libc.test.src.strchr_test_support
24+
)
25+
26+
add_libc_test(
27+
rindex_test
28+
SUITE
29+
libc-strings-tests
30+
SRCS
31+
rindex_test.cpp
32+
DEPENDS
33+
libc.src.strings.rindex
34+
libc.test.src.strchr_test_support
35+
)
36+
37+
add_libc_test(
38+
strcasecmp_test
39+
SUITE
40+
libc-strings-tests
41+
SRCS
42+
strcasecmp_test.cpp
43+
DEPENDS
44+
libc.src.strings.strcasecmp
45+
)
46+
47+
add_libc_test(
48+
strncasecmp_test
49+
SUITE
50+
libc-strings-tests
51+
SRCS
52+
strncasecmp_test.cpp
53+
DEPENDS
54+
libc.src.strings.strncasecmp
55+
)
56+
57+
add_libc_multi_impl_test(bcmp libc-strings-tests SRCS bcmp_test.cpp)
58+
add_libc_multi_impl_test(bzero libc-strings-tests SRCS bzero_test.cpp)

0 commit comments

Comments
 (0)