Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libc / test / src / fcntl / CMakeLists.txt
blobf3d265ec238bd4da317f7a54c593a79038133737
1 add_custom_target(libc_fcntl_unittests)
3 add_subdirectory(testdata)
5 add_libc_unittest(
6   creat_test
7   SUITE
8     libc_fcntl_unittests
9   SRCS
10     creat_test.cpp
11   DEPENDS
12     libc.include.fcntl
13     libc.src.errno.errno
14     libc.src.fcntl.creat
15     libc.src.fcntl.open
16     libc.src.unistd.close
17     libc.test.errno_setter_matcher
20 add_libc_unittest(
21   openat_test
22   SUITE
23     libc_fcntl_unittests
24   SRCS
25     openat_test.cpp
26   DEPENDS
27     libc.include.fcntl
28     libc.src.errno.errno
29     libc.src.fcntl.open
30     libc.src.fcntl.openat
31     libc.src.unistd.close
32     libc.src.unistd.read
33     libc.test.errno_setter_matcher