forked from OSchip/llvm-project
Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!
llvm-svn: 51108
This commit is contained in:
parent
7fc6027873
commit
f85405fced
|
@ -1,3 +1,10 @@
|
|||
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}]]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue