diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-21 20:41:27 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-21 20:41:27 +0000 |
commit | 16154ef9f953aa05c14db64b74bd40cf4473bee4 (patch) | |
tree | c8d404f8f7882b1121947b59ad2a5191c214d01a /test/CodeGen/Alpha | |
parent | 40a4c61cb7aade82aa1aaf43c943fa4a463063c3 (diff) |
Use the llvm_supports_target function to prevent running of tests for
targets that LLVM is not configured to support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Alpha')
-rw-r--r-- | test/CodeGen/Alpha/dg.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/Alpha/dg.exp b/test/CodeGen/Alpha/dg.exp index 39954d8a49..fb9f710b29 100644 --- a/test/CodeGen/Alpha/dg.exp +++ b/test/CodeGen/Alpha/dg.exp @@ -1,3 +1,5 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] +if { [llvm_supports_target Alpha] } { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]] +} |