Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / test / src / sched / CMakeLists.txt
blobef6cdf34843b39c6a4206606d3dbc3a9ac1741e9
1 add_custom_target(libc_sched_unittests)
3 add_libc_unittest(
4   affinity_test
5   SUITE
6     libc_sched_unittests
7   SRCS
8     affinity_test.cpp
9   DEPENDS
10     libc.include.sched
11     libc.include.sys_syscall
12     libc.src.__support.OSUtil.osutil
13     libc.src.errno.errno
14     libc.src.sched.sched_getaffinity
15     libc.src.sched.sched_setaffinity
16     libc.test.errno_setter_matcher
19 add_libc_unittest(
20   yield_test
21   SUITE
22     libc_sched_unittests
23   SRCS
24     yield_test.cpp
25   DEPENDS
26     libc.src.errno.errno
27     libc.src.sched.sched_yield
30 add_libc_unittest(
31   get_priority_test
32   SUITE
33     libc_sched_unittests
34   SRCS
35     get_priority_test.cpp
36   DEPENDS
37     libc.include.sched
38     libc.src.errno.errno
39     libc.src.sched.sched_get_priority_min
40     libc.src.sched.sched_get_priority_max
43 add_libc_unittest(
44   scheduler_test
45   SUITE
46     libc_sched_unittests
47   SRCS
48     param_and_scheduler_test.cpp
49   DEPENDS
50     libc.include.sched
51     libc.src.errno.errno
52     libc.src.sched.sched_getscheduler
53     libc.src.sched.sched_setscheduler
54     libc.src.sched.sched_getparam
55     libc.src.sched.sched_setparam
56     libc.src.sched.sched_get_priority_min
57     libc.src.sched.sched_get_priority_max
58     libc.src.unistd.getuid
61 add_libc_unittest(
62   sched_rr_get_interval_test
63   SUITE
64     libc_sched_unittests
65   SRCS
66     sched_rr_get_interval_test.cpp
67   DEPENDS
68     libc.include.sched
69     libc.src.errno.errno
70     libc.src.sched.sched_getscheduler
71     libc.src.sched.sched_setscheduler
72     libc.src.sched.sched_get_priority_min
73     libc.src.sched.sched_rr_get_interval
74     libc.src.unistd.getuid
77 add_libc_unittest(
78   cpu_count_test
79   SUITE
80     libc_sched_unittests
81   SRCS
82     cpu_count_test.cpp
83   DEPENDS
84     libc.include.sched
85     libc.include.sys_syscall
86     libc.src.__support.OSUtil.osutil
87     libc.src.errno.errno
88     libc.src.sched.sched_getaffinity
89     libc.src.sched.__sched_getcpucount
90     libc.test.errno_setter_matcher