blob: 2cb80e2b6ae2e9733af2b01d320cde8f33b85260 (
plain)
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
add_custom_target(libc_pthread_unittests)
add_libc_unittest(
pthread_attr_test
SUITE
libc_pthread_unittests
SRCS
pthread_attr_test.cpp
DEPENDS
libc.include.pthread
libc.src.pthread.pthread_attr_destroy
libc.src.pthread.pthread_attr_init
libc.src.pthread.pthread_attr_getdetachstate
libc.src.pthread.pthread_attr_getguardsize
libc.src.pthread.pthread_attr_getstacksize
libc.src.pthread.pthread_attr_getstack
libc.src.pthread.pthread_attr_setdetachstate
libc.src.pthread.pthread_attr_setguardsize
libc.src.pthread.pthread_attr_setstacksize
libc.src.pthread.pthread_attr_setstack
libc.hdr.errno_macros
)
add_libc_unittest(
pthread_mutexattr_test
SUITE
libc_pthread_unittests
SRCS
pthread_mutexattr_test.cpp
DEPENDS
libc.include.pthread
libc.src.pthread.pthread_mutexattr_destroy
libc.src.pthread.pthread_mutexattr_init
libc.src.pthread.pthread_mutexattr_getpshared
libc.src.pthread.pthread_mutexattr_getrobust
libc.src.pthread.pthread_mutexattr_gettype
libc.src.pthread.pthread_mutexattr_setpshared
libc.src.pthread.pthread_mutexattr_setrobust
libc.src.pthread.pthread_mutexattr_settype
libc.hdr.errno_macros
)
add_libc_unittest(
pthread_condattr_test
SUITE
libc_pthread_unittests
SRCS
pthread_condattr_test.cpp
DEPENDS
libc.include.llvm-libc-macros.generic_error_number_macros
libc.include.llvm-libc-macros.time_macros
libc.include.pthread
libc.src.pthread.pthread_condattr_destroy
libc.src.pthread.pthread_condattr_getclock
libc.src.pthread.pthread_condattr_getpshared
libc.src.pthread.pthread_condattr_init
libc.src.pthread.pthread_condattr_setclock
libc.src.pthread.pthread_condattr_setpshared
)
add_libc_unittest(
pthread_rwlockattr_test
SUITE
libc_pthread_unittests
SRCS
pthread_rwlockattr_test.cpp
DEPENDS
libc.include.pthread
libc.src.errno.errno
libc.src.pthread.pthread_rwlockattr_destroy
libc.src.pthread.pthread_rwlockattr_getkind_np
libc.src.pthread.pthread_rwlockattr_getpshared
libc.src.pthread.pthread_rwlockattr_init
libc.src.pthread.pthread_rwlockattr_setkind_np
libc.src.pthread.pthread_rwlockattr_setpshared
)
|