From bbcec684e38252647d987ea00b217468e943f277 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 10 Jul 2008 22:35:32 +0000 Subject: [PATCH] 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 --- test/{Other => CodeGen/CPP}/2007-06-16-Funcname.ll | 0 test/CodeGen/CPP/dg.exp | 5 +++++ test/{Feature => CodeGen/CPP}/llvm2cpp.ll | 0 3 files changed, 5 insertions(+) rename test/{Other => CodeGen/CPP}/2007-06-16-Funcname.ll (100%) create mode 100644 test/CodeGen/CPP/dg.exp rename test/{Feature => CodeGen/CPP}/llvm2cpp.ll (100%) diff --git a/test/Other/2007-06-16-Funcname.ll b/test/CodeGen/CPP/2007-06-16-Funcname.ll similarity index 100% rename from test/Other/2007-06-16-Funcname.ll rename to 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 00000000000..3276dcc3275 --- /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 similarity index 100% rename from test/Feature/llvm2cpp.ll rename to test/CodeGen/CPP/llvm2cpp.ll