Only run tests in test/CodeGen/CBackend/X86 when both X86 and CBackend are supported

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Meyer 2011-09-26 06:44:27 +00:00
parent 8f418b11d2
commit 6b97870746

View File

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