load_lib llvm.exp 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}]] } RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]