summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CBackend
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-21 20:41:27 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-21 20:41:27 +0000
commit225b2732a408dc7782c37b12367338728c024323 (patch)
tree615dac4532ba93e6f67dcd8b0b0c69cfb6d8181d /llvm/test/CodeGen/CBackend
parent9e56986407fb7c6f9e0d0752babd0f4bdab285e6 (diff)
downloadbcm5719-llvm-225b2732a408dc7782c37b12367338728c024323.tar.gz
bcm5719-llvm-225b2732a408dc7782c37b12367338728c024323.zip
Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support. llvm-svn: 36315
Diffstat (limited to 'llvm/test/CodeGen/CBackend')
-rw-r--r--llvm/test/CodeGen/CBackend/dg.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/CBackend/dg.exp b/llvm/test/CodeGen/CBackend/dg.exp
index 879685ca879..304b90f4ff0 100644
--- a/llvm/test/CodeGen/CBackend/dg.exp
+++ b/llvm/test/CodeGen/CBackend/dg.exp
@@ -1,3 +1,5 @@
load_lib llvm.exp
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if { [llvm_supports_target CBackend] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}
OpenPOWER on IntegriCloud