Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / unittests / Host / CMakeLists.txt
blobc959478970d184a80bdd718a406e4e43c9bba7b1
1 set (FILES
2   ConnectionFileDescriptorTest.cpp
3   FileActionTest.cpp
4   FileSystemTest.cpp
5   FileTest.cpp
6   HostInfoTest.cpp
7   HostTest.cpp
8   MainLoopTest.cpp
9   NativeProcessProtocolTest.cpp
10   PipeTest.cpp
11   ProcessLaunchInfoTest.cpp
12   SocketAddressTest.cpp
13   SocketTest.cpp
14   ThreadLauncherTest.cpp
15   XMLTest.cpp
18 if (CMAKE_SYSTEM_NAME MATCHES "Linux|Android")
19   list(APPEND FILES
20     linux/HostTest.cpp
21     linux/SupportTest.cpp
22   )
23 endif()
25 if (LLDB_ENABLE_TERMIOS)
26   list(APPEND FILES
27     posix/TerminalTest.cpp
28   )
29 endif()
31 add_lldb_unittest(HostTests
32   ${FILES}
33   LINK_LIBS
34     lldbHost
35     lldbCore
36     lldbUtilityHelpers
37     lldbHostHelpers
38     LLVMTestingSupport
39     LLVMTargetParser
40   )
42 add_subdirectory(common)