summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-07-10 22:35:32 +0000
committerBill Wendling <isanbard@gmail.com>2008-07-10 22:35:32 +0000
commitbbcec684e38252647d987ea00b217468e943f277 (patch)
tree08394cf3f28510c293da1c17c6e70cacf7c0779f /test
parent4f4b348437ff607b53c66ec7da8a011b637ebc99 (diff)
downloadllvm-bbcec684e38252647d987ea00b217468e943f277.tar.gz
llvm-bbcec684e38252647d987ea00b217468e943f277.tar.bz2
llvm-bbcec684e38252647d987ea00b217468e943f277.tar.xz
Put CPPBackend tests into their own directory and run them only if they're
supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/CPP/2007-06-16-Funcname.ll (renamed from test/Other/2007-06-16-Funcname.ll)0
-rw-r--r--test/CodeGen/CPP/dg.exp5
-rw-r--r--test/CodeGen/CPP/llvm2cpp.ll (renamed from test/Feature/llvm2cpp.ll)0
3 files changed, 5 insertions, 0 deletions
diff --git a/test/Other/2007-06-16-Funcname.ll b/test/CodeGen/CPP/2007-06-16-Funcname.ll
index 75b96e6c37..75b96e6c37 100644
--- a/test/Other/2007-06-16-Funcname.ll
+++ b/test/CodeGen/CPP/2007-06-16-Funcname.ll
diff --git a/test/CodeGen/CPP/dg.exp b/test/CodeGen/CPP/dg.exp
new file mode 100644
index 0000000000..3276dcc327
--- /dev/null
+++ b/test/CodeGen/CPP/dg.exp
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target CppBackend] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
+}
diff --git a/test/Feature/llvm2cpp.ll b/test/CodeGen/CPP/llvm2cpp.ll
index 651a65bbea..651a65bbea 100644
--- a/test/Feature/llvm2cpp.ll
+++ b/test/CodeGen/CPP/llvm2cpp.ll