Move ARM and X86 specific AsmParser tests into separate subdirectories, and only

run if appropriate target is supported.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-09-21 00:05:30 +00:00
parent 2763217fbd
commit 06e483dae0
7 changed files with 11 additions and 3 deletions

View File

@ -0,0 +1,5 @@
load_lib llvm.exp
if { [llvm_supports_target ARM] } {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
}

View File

@ -0,0 +1,5 @@
load_lib llvm.exp
if { [llvm_supports_target X86] } {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
}

View File

@ -1,6 +1,4 @@
load_lib llvm.exp
if { [llvm_supports_target X86] } {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]
}
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]