OSDN Git Service

Make running these tests conditional on llvm-gcc supporting the language
authorReid Spencer <rspencer@reidspencer.com>
Sun, 22 Apr 2007 05:53:18 +0000 (05:53 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 22 Apr 2007 05:53:18 +0000 (05:53 +0000)
of these test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36328 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/dg.exp
test/CFrontend/dg.exp

index 879685c..d8e8989 100644 (file)
@@ -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}]]
+}
index 879685c..6675048 100644 (file)
@@ -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}]]
+}