From: Reid Spencer Date: Sun, 22 Apr 2007 05:53:18 +0000 (+0000) Subject: Make running these tests conditional on llvm-gcc supporting the language X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=749456dee45fe65ebb57a60e7e2099097a2bff23;p=oota-llvm.git Make running these tests conditional on llvm-gcc supporting the language of these test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36328 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/dg.exp b/test/C++Frontend/dg.exp index 879685ca879..d8e89899301 100644 --- a/test/C++Frontend/dg.exp +++ b/test/C++Frontend/dg.exp @@ -1,3 +1,5 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +if [ llvm_gcc_supports c++ ] then { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +} diff --git a/test/CFrontend/dg.exp b/test/CFrontend/dg.exp index 879685ca879..6675048e693 100644 --- a/test/CFrontend/dg.exp +++ b/test/CFrontend/dg.exp @@ -1,3 +1,5 @@ load_lib llvm.exp -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +if [ llvm_gcc_supports c ] then { + RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]] +}