1 import("//llvm/lib/Target/targets.gni")
6 "Analysis:AnalysisTests",
7 "AsmParser:AsmParserTests",
8 "BinaryFormat:BinaryFormatTests",
9 "Bitcode:BitcodeTests",
10 "Bitstream:BitstreamTests",
11 "CodeGen:CodeGenTests",
12 "CodeGen/GlobalISel:GlobalISelTests",
13 "DebugInfo/CodeView:DebugInfoCodeViewTests",
14 "DebugInfo/DWARF:DebugInfoDWARFTests",
15 "DebugInfo/GSYM:DebugInfoGSYMTests",
16 "DebugInfo/MSF:DebugInfoMSFTests",
17 "DebugInfo/PDB:DebugInfoPDBTests",
18 "Demangle:DemangleTests",
19 "ExecutionEngine:ExecutionEngineTests",
20 "ExecutionEngine/JITLink:JITLinkTests",
21 "ExecutionEngine/MCJIT:MCJITTests",
22 "ExecutionEngine/Orc:OrcJITTests",
23 "FuzzMutate:FuzzMutateTests",
25 "LineEditor:LineEditorTests",
30 "ObjectYAML:ObjectYAMLTests",
32 "Passes:PluginsTests",
33 "ProfileData:ProfileDataTests",
34 "Remarks:RemarksTests",
35 "Support:SupportTests",
36 "Support/DynamicLibrary:DynamicLibraryTests",
37 "TableGen:TableGenTests",
38 "TextAPI:TextAPITests",
39 "Transforms/IPO:IPOTests",
40 "Transforms/Scalar:ScalarTests",
41 "Transforms/Utils:UtilsTests",
42 "Transforms/Vectorize:VectorizeTests",
44 "tools/llvm-cfi-verify:CFIVerifyTests",
45 "tools/llvm-exegesis:LLVMExegesisTests",
48 # Target-dependent unit tests.
49 # FIXME: This matches how they are set up in the cmake build,
50 # but if we disable an arch after building with it on, this
51 # setup leaves behind stale executables.
52 if (llvm_build_AArch64) {
54 "Target/AArch64:AArch64Tests",
55 "tools/llvm-exegesis/AArch64:LLVMExegesisAArch64Tests",
60 "Target/ARM:ARMTests",
61 "tools/llvm-exegesis/ARM:LLVMExegesisARMTests",
64 if (llvm_build_Mips) {
65 deps += [ "tools/llvm-exegesis/Mips:LLVMExegesisMipsTests" ]
67 if (llvm_build_PowerPC) {
68 deps += [ "tools/llvm-exegesis/PowerPC:LLVMExegesisPowerPCTests" ]
70 if (llvm_build_WebAssembly) {
71 deps += [ "Target/WebAssembly:WebAssemblyTests" ]
74 deps += [ "tools/llvm-exegesis/X86:LLVMExegesisX86Tests" ]