mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-10 10:01:42 +00:00
Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. llvm-svn: 150664
This commit is contained in:
parent
59e41d046e
commit
924f9a671d
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/BasicAA/lit.local.cfg
Normal file
1
llvm/test/Analysis/BasicAA/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg
Normal file
1
llvm/test/Analysis/BlockFrequencyInfo/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg
Normal file
1
llvm/test/Analysis/BranchProbabilityInfo/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/CallGraph/lit.local.cfg
Normal file
1
llvm/test/Analysis/CallGraph/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/Dominators/lit.local.cfg
Normal file
1
llvm/test/Analysis/Dominators/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/GlobalsModRef/lit.local.cfg
Normal file
1
llvm/test/Analysis/GlobalsModRef/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/LoopDependenceAnalysis/lit.local.cfg
Normal file
1
llvm/test/Analysis/LoopDependenceAnalysis/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/LoopInfo/lit.local.cfg
Normal file
1
llvm/test/Analysis/LoopInfo/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/PostDominators/lit.local.cfg
Normal file
1
llvm/test/Analysis/PostDominators/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,4 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
|
1
llvm/test/Analysis/Profiling/lit.local.cfg
Normal file
1
llvm/test/Analysis/Profiling/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/RegionInfo/lit.local.cfg
Normal file
1
llvm/test/Analysis/RegionInfo/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.ll]]
|
1
llvm/test/Analysis/ScalarEvolution/lit.local.cfg
Normal file
1
llvm/test/Analysis/ScalarEvolution/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg
Normal file
1
llvm/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Archive/lit.local.cfg
Normal file
1
llvm/test/Archive/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Assembler/lit.local.cfg
Normal file
1
llvm/test/Assembler/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if [ llvm_supports_binding ocaml ] then {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,ml}]]
|
||||
}
|
13
llvm/test/Bindings/Ocaml/lit.local.cfg
Normal file
13
llvm/test/Bindings/Ocaml/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp', '.ml']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
bindings = set([s.strip() for s in root.llvm_bindings.split(',')])
|
||||
if not 'ocaml' in bindings:
|
||||
config.unsupported = True
|
||||
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Bitcode/lit.local.cfg
Normal file
1
llvm/test/Bitcode/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.ll]]
|
1
llvm/test/BugPoint/lit.local.cfg
Normal file
1
llvm/test/BugPoint/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target ARM] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/ARM/lit.local.cfg
Normal file
13
llvm/test/CodeGen/ARM/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'ARM' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] && [llvm_supports_target CBackend] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,s}]]
|
||||
}
|
13
llvm/test/CodeGen/CBackend/X86/lit.local.cfg
Normal file
13
llvm/test/CodeGen/CBackend/X86/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'CBackend' in targets or not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target CBackend] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/CBackend/lit.local.cfg
Normal file
13
llvm/test/CodeGen/CBackend/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'CBackend' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target CppBackend] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/CPP/lit.local.cfg
Normal file
13
llvm/test/CodeGen/CPP/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'CppBackend' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target CellSPU] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/CellSPU/lit.local.cfg
Normal file
13
llvm/test/CodeGen/CellSPU/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'CellSPU' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/CodeGen/Generic/lit.local.cfg
Normal file
1
llvm/test/CodeGen/Generic/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target Hexagon] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/Hexagon/lit.local.cfg
Normal file
13
llvm/test/CodeGen/Hexagon/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'Hexagon' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target MBlaze] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/MBlaze/lit.local.cfg
Normal file
13
llvm/test/CodeGen/MBlaze/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'MBlaze' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target MSP430] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/MSP430/lit.local.cfg
Normal file
13
llvm/test/CodeGen/MSP430/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'MSP430' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target Mips] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/Mips/lit.local.cfg
Normal file
13
llvm/test/CodeGen/Mips/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'Mips' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target PTX] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/PTX/lit.local.cfg
Normal file
13
llvm/test/CodeGen/PTX/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'PTX' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target PowerPC] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/PowerPC/lit.local.cfg
Normal file
13
llvm/test/CodeGen/PowerPC/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'PowerPC' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target Sparc] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/SPARC/lit.local.cfg
Normal file
13
llvm/test/CodeGen/SPARC/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'Sparc' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target ARM] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/Thumb/lit.local.cfg
Normal file
13
llvm/test/CodeGen/Thumb/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'ARM' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target ARM] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/Thumb2/lit.local.cfg
Normal file
13
llvm/test/CodeGen/Thumb2/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'ARM' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/X86/GC/lit.local.cfg
Normal file
13
llvm/test/CodeGen/X86/GC/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/X86/lit.local.cfg
Normal file
13
llvm/test/CodeGen/X86/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target XCore] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
||||
}
|
13
llvm/test/CodeGen/XCore/lit.local.cfg
Normal file
13
llvm/test/CodeGen/XCore/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'XCore' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]
|
||||
}
|
12
llvm/test/DebugInfo/X86/lit.local.cfg
Normal file
12
llvm/test/DebugInfo/X86/lit.local.cfg
Normal file
@ -0,0 +1,12 @@
|
||||
config.suffixes = ['.ll']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/DebugInfo/lit.local.cfg
Normal file
1
llvm/test/DebugInfo/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/ExecutionEngine/lit.local.cfg
Normal file
1
llvm/test/ExecutionEngine/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Feature/lit.local.cfg
Normal file
1
llvm/test/Feature/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg
Normal file
1
llvm/test/Instrumentation/AddressSanitizer/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Integer/lit.local.cfg
Normal file
1
llvm/test/Integer/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,3 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
|
1
llvm/test/Linker/lit.local.cfg
Normal file
1
llvm/test/Linker/lit.local.cfg
Normal file
@ -0,0 +1 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp']
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target ARM] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,s}]]
|
||||
}
|
13
llvm/test/MC/ARM/lit.local.cfg
Normal file
13
llvm/test/MC/ARM/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'ARM' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]
|
||||
}
|
13
llvm/test/MC/AsmParser/lit.local.cfg
Normal file
13
llvm/test/MC/AsmParser/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.s']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,s}]]
|
||||
}
|
13
llvm/test/MC/COFF/lit.local.cfg
Normal file
13
llvm/test/MC/COFF/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.s', '.ll']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,6 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target ARM] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{txt}]]
|
||||
}
|
||||
|
13
llvm/test/MC/Disassembler/ARM/lit.local.cfg
Normal file
13
llvm/test/MC/Disassembler/ARM/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.txt']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'ARM' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,6 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target MBlaze] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{txt}]]
|
||||
}
|
||||
|
13
llvm/test/MC/Disassembler/MBlaze/lit.local.cfg
Normal file
13
llvm/test/MC/Disassembler/MBlaze/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.txt']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'MBlaze' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,6 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{txt}]]
|
||||
}
|
||||
|
13
llvm/test/MC/Disassembler/X86/lit.local.cfg
Normal file
13
llvm/test/MC/Disassembler/X86/lit.local.cfg
Normal file
@ -0,0 +1,13 @@
|
||||
config.suffixes = ['.txt']
|
||||
|
||||
def getRoot(config):
|
||||
if not config.parent:
|
||||
return config
|
||||
return getRoot(config.parent)
|
||||
|
||||
root = getRoot(config)
|
||||
|
||||
targets = set(root.targets_to_build.split())
|
||||
if not 'X86' in targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +0,0 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
if { [llvm_supports_target X86] } {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,s}]]
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user