OSDN Git Service

Only run tests in test/CodeGen/CBackend/X86 when both X86 and CBackend are supported
authorDavid Meyer <pdox@google.com>
Mon, 26 Sep 2011 06:44:27 +0000 (06:44 +0000)
committerDavid Meyer <pdox@google.com>
Mon, 26 Sep 2011 06:44:27 +0000 (06:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140517 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CBackend/X86/dg.exp

index 6e4eb52..44e3a5e 100644 (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}]]
 }