summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit33d58e7657e538e656095e798d59b89d60a27699 (patch)
treec29113a3709aacbb042abcd0ac0bc914c6192798 /llvm/test
parent38c5ffb7533ca591b815a5a23810b9bced86685b (diff)
downloadbcm5719-llvm-33d58e7657e538e656095e798d59b89d60a27699.tar.gz
bcm5719-llvm-33d58e7657e538e656095e798d59b89d60a27699.zip
Put CPPBackend tests into their own directory and run them only if they're
supported. llvm-svn: 53427
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/CPP/2007-06-16-Funcname.ll (renamed from llvm/test/Other/2007-06-16-Funcname.ll)0
-rw-r--r--llvm/test/CodeGen/CPP/dg.exp5
-rw-r--r--llvm/test/CodeGen/CPP/llvm2cpp.ll (renamed from llvm/test/Feature/llvm2cpp.ll)0
3 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/Other/2007-06-16-Funcname.ll b/llvm/test/CodeGen/CPP/2007-06-16-Funcname.ll
index 75b96e6c373..75b96e6c373 100644
--- a/llvm/test/Other/2007-06-16-Funcname.ll
+++ b/llvm/test/CodeGen/CPP/2007-06-16-Funcname.ll
diff --git a/llvm/test/CodeGen/CPP/dg.exp b/llvm/test/CodeGen/CPP/dg.exp
new file mode 100644
index 00000000000..3276dcc3275
--- /dev/null
+++ b/llvm/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/llvm/test/Feature/llvm2cpp.ll b/llvm/test/CodeGen/CPP/llvm2cpp.ll
index 651a65bbea9..651a65bbea9 100644
--- a/llvm/test/Feature/llvm2cpp.ll
+++ b/llvm/test/CodeGen/CPP/llvm2cpp.ll
OpenPOWER on IntegriCloud