Make running these tests conditional on llvm-gcc supporting the language

of these test cases.

llvm-svn: 36328
This commit is contained in:
Reid Spencer 2007-04-22 05:53:18 +00:00
parent 4721577334
commit 119d63ad7e
2 changed files with 6 additions and 2 deletions

View 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}]]
}

View 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}]]
}