blob: 641163e39ed3c91f6d31b0e0939d5a11259b1c16 [file] [log] [blame]
Chandler Carruth94d02512012-06-21 09:51:26 +00001set(LLVM_LINK_COMPONENTS
2 Support
Chandler Carruth94d02512012-06-21 09:51:26 +00003 )
4
5add_llvm_unittest(SupportTests
6 AlignOfTest.cpp
7 AllocatorTest.cpp
Sam Parkerdf7c6ef2017-01-18 13:52:12 +00008 ARMAttributeParser.cpp
Jakob Stoklund Olesen17a7d222013-01-05 00:57:11 +00009 ArrayRecyclerTest.cpp
Zachary Turnerd9dc2822017-03-02 20:52:51 +000010 BinaryStreamTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000011 BlockFrequencyTest.cpp
Duncan P. N. Exon Smithcd630f22014-04-29 16:12:13 +000012 BranchProbabilityTest.cpp
Peter Collingbourned1eac7b2017-03-16 03:42:00 +000013 CachePruningTest.cpp
Reid Kleckner710c1ce2017-05-17 18:16:17 +000014 CrashRecoveryTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000015 Casting.cpp
Pavel Labath59838f72016-10-20 12:05:50 +000016 Chrono.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000017 CommandLineTest.cpp
Alexey Samsonov2fb337e2013-04-23 08:28:39 +000018 CompressionTest.cpp
Reid Kleckner7df03c22013-07-16 17:14:33 +000019 ConvertUTFTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000020 DataExtractorTest.cpp
Eugene Leviantc089e402016-12-27 09:31:20 +000021 DebugTest.cpp
Matt Arsenaultd9316422015-02-05 03:30:08 +000022 EndianStreamTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000023 EndianTest.cpp
Pavel Labathfe09f502017-06-29 13:15:31 +000024 ErrnoTest.cpp
Michael J. Spencer779c4242013-01-20 20:32:30 +000025 ErrorOrTest.cpp
Rui Ueyamaf7a7ab52016-12-20 23:09:09 +000026 ErrorTest.cpp
Nick Kledzik5fce8c42012-08-01 02:29:50 +000027 FileOutputBufferTest.cpp
Zachary Turner11db2642016-11-11 23:57:40 +000028 FormatVariadicTest.cpp
Rui Ueyamaf7a7ab52016-12-20 23:09:09 +000029 GlobPatternTest.cpp
Teresa Johnson7943fec2016-10-13 17:43:20 +000030 Host.cpp
Logan Chien5b776b72014-02-22 14:00:39 +000031 LEB128Test.cpp
Chandler Carruthf8c52812013-12-27 04:28:57 +000032 LineIteratorTest.cpp
Reid Kleckner7de8ea32013-08-07 01:22:04 +000033 LockFileManagerTest.cpp
Chandler Carruth9a6be8b2014-04-24 03:31:23 +000034 MD5Test.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000035 ManagedStatic.cpp
36 MathExtrasTest.cpp
Andrew Kaylor5e7d7922012-10-04 20:29:44 +000037 MemoryBufferTest.cpp
Andrew Kaylor1f661002012-09-19 20:46:12 +000038 MemoryTest.cpp
Zachary Turner5b2243e2016-10-29 00:27:22 +000039 NativeFormatTests.cpp
Zachary Turner3a57fbd2017-05-11 00:03:52 +000040 ParallelTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000041 Path.cpp
Chandler Carruth97683aa2012-12-31 11:17:50 +000042 ProcessTest.cpp
Reid Kleckner74679a92013-04-22 19:03:55 +000043 ProgramTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000044 RegexTest.cpp
Greg Bedwell7f68a712015-10-12 15:11:47 +000045 ReplaceFileTest.cpp
Duncan P. N. Exon Smith9c62dd52014-06-20 01:30:43 +000046 ScaledNumberTest.cpp
Dmitri Gribenko8f944622013-09-27 21:09:25 +000047 SourceMgrTest.cpp
Alexey Samsonovb7dd3292014-07-09 19:40:08 +000048 SpecialCaseListTest.cpp
Nikola Smiljanic89e561a2014-06-19 00:26:49 +000049 StringPool.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000050 SwapByteOrderTest.cpp
Rui Ueyamae9d17542017-01-09 22:55:00 +000051 TarWriterTest.cpp
Saleem Abdulrasool11bf1ac2016-03-06 04:50:55 +000052 TargetParserTest.cpp
Hans Wennborgfabf8bf2013-12-19 20:32:44 +000053 ThreadLocalTest.cpp
Mehdi Amini33a7ea42015-12-15 00:59:19 +000054 ThreadPool.cpp
Rui Ueyamae9d17542017-01-09 22:55:00 +000055 Threading.cpp
Vedant Kumard1675862015-12-22 17:36:17 +000056 TimerTest.cpp
Chandler Carruth17edbdd2016-02-25 03:58:21 +000057 TypeNameTest.cpp
James Y Knightaa365b22015-08-05 22:57:34 +000058 TrailingObjectsTest.cpp
Ivan Krasin3dade412016-12-01 02:54:54 +000059 TrigramIndexTest.cpp
Alexander Kornienko9aa60fd2013-09-04 16:00:12 +000060 UnicodeTest.cpp
Nick Kledzikf60a9272012-12-12 20:46:15 +000061 YAMLIOTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000062 YAMLParserTest.cpp
Daniel Dunbarb93a2ce2012-09-14 23:36:56 +000063 formatted_raw_ostream_test.cpp
Daniel Dunbar9affb242012-09-14 23:15:56 +000064 raw_ostream_test.cpp
Rafael Espindola37b70152015-04-14 15:00:34 +000065 raw_pwrite_stream_test.cpp
Mehdi Amini4cd57022016-04-01 04:30:16 +000066 raw_sha1_ostream_test.cpp
Rafael Espindolaeaeb6d92016-09-27 15:45:57 +000067 xxhashTest.cpp
Chandler Carruth94d02512012-06-21 09:51:26 +000068 )
NAKAMURA Takumi13437e82014-11-07 16:08:19 +000069
Galina Kistanova937b8e02017-06-07 06:30:27 +000070# Disable all warning for AlignOfTest.cpp,
71# as it does things intentionally, and there is no reliable way of
72# disabling all warnings for all the compilers by using pragmas.
73set_source_files_properties(AlignOfTest.cpp PROPERTIES COMPILE_FLAGS -w)
74
NAKAMURA Takumi13437e82014-11-07 16:08:19 +000075# ManagedStatic.cpp uses <pthread>.
Zachary Turnerdced7c92017-06-14 22:33:43 +000076target_link_libraries(SupportTests LLVMTestingSupport ${LLVM_PTHREAD_LIB})
Frederich Munchc1db8cf2017-04-27 16:55:24 +000077
78add_subdirectory(DynamicLibrary)