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/PowerPC | |
| 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/PowerPC')
| -rw-r--r-- | test/CodeGen/PowerPC/dg.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/PowerPC/dg.exp b/test/CodeGen/PowerPC/dg.exp index 879685ca87..22b60bc721 100644 --- a/test/CodeGen/PowerPC/dg.exp +++ b/test/CodeGen/PowerPC/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 PowerPC] } { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +} |
