Commit 422c8d11 authored by Tanya Lattner's avatar Tanya Lattner
Browse files

Merge from mainline.

Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!

llvm-svn: 51413
parent c1e0cbf1
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
load_lib llvm.exp

RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c,cpp}]]
if [ llvm_gcc_supports c ] then {
  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c}]]
}

if [ llvm_gcc_supports c++ ] then {
  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{cpp}]]
}