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 "TextAPI:TextAPITests",
38 "Transforms/IPO:IPOTests",
39 "Transforms/Scalar:ScalarTests",
40 "Transforms/Utils:UtilsTests",
41 "Transforms/Vectorize:VectorizeTests",
43 "tools/llvm-cfi-verify:CFIVerifyTests",
44 "tools/llvm-exegesis:LLVMExegesisTests",
47 # Target-dependent unit tests.
48 # FIXME: This matches how they are set up in the cmake build,
49 # but if we disable an arch after building with it on, this
50 # setup leaves behind stale executables.
51 if (llvm_build_AArch64) {
53 "Target/AArch64:AArch64Tests",
54 "tools/llvm-exegesis/AArch64:LLVMExegesisAArch64Tests",
59 "Target/ARM:ARMTests",
60 "tools/llvm-exegesis/ARM:LLVMExegesisARMTests",
63 if (llvm_build_WebAssembly) {
64 deps += [ "Target/WebAssembly:WebAssemblyTests" ]
66 if (llvm_build_PowerPC) {
67 deps += [ "tools/llvm-exegesis/PowerPC:LLVMExegesisPowerPCTests" ]
70 deps += [ "tools/llvm-exegesis/X86:LLVMExegesisX86Tests" ]