CMakeLists.txt
1.84 KB
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
add_libc_testsuite(libc_signal_unittests)
add_libc_unittest(
raise_test
SUITE
libc_signal_unittests
SRCS
raise_test.cpp
DEPENDS
libc.include.signal
libc.src.signal.raise
)
add_libc_unittest(
sigaction_test
SUITE
libc_signal_unittests
SRCS
sigaction_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.signal.raise
libc.src.signal.sigaction
libc.test.errno_setter_matcher
)
add_libc_unittest(
sigprocmask_test
SUITE
libc_signal_unittests
SRCS
sigprocmask_test.cpp
DEPENDS
libc.include.errno
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.sigaddset
libc.src.signal.sigemptyset
libc.src.signal.sigprocmask
libc.test.errno_setter_matcher
)
add_libc_unittest(
sigaddset_test
SUITE
libc_signal_unittests
SRCS
sigaddset_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.signal.sigaddset
libc.test.errno_setter_matcher
)
add_libc_unittest(
signal_test
SUITE
libc_signal_unittests
SRCS
signal_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.errno.__errno_location
libc.src.signal.raise
libc.src.signal.signal
libc.test.errno_setter_matcher
)
add_libc_unittest(
sigfillset_test
SUITE
libc_signal_unittests
SRCS
sigfillset_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.signal.raise
libc.src.signal.sigfillset
libc.src.signal.sigprocmask
libc.test.errno_setter_matcher
)
add_libc_unittest(
sigdelset_test
SUITE
libc_signal_unittests
SRCS
sigdelset_test.cpp
DEPENDS
libc.include.errno
libc.include.signal
libc.src.signal.raise
libc.src.signal.sigdelset
libc.src.signal.sigfillset
libc.src.signal.sigprocmask
libc.test.errno_setter_matcher
)