CMakeLists.txt
917 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
add_libc_testsuite(libc_threads_unittests)
add_libc_unittest(
call_once_test
SUITE
libc_threads_unittests
SRCS
call_once_test.cpp
DEPENDS
libc.include.threads
libc.src.threads.call_once
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
)
add_libc_unittest(
thrd_test
SUITE
libc_threads_unittests
SRCS
thrd_test.cpp
DEPENDS
libc.include.threads
libc.src.errno.__errno_location
libc.src.threads.thrd_create
libc.src.threads.thrd_join
)
add_libc_unittest(
mtx_test
SUITE
libc_threads_unittests
SRCS
mtx_test.cpp
DEPENDS
libc.include.threads
libc.src.errno.__errno_location
libc.src.threads.mtx_init
libc.src.threads.mtx_lock
libc.src.threads.mtx_unlock
libc.src.threads.thrd_create
libc.src.threads.thrd_join
)