1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

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

llvm-svn: 51108
This commit is contained in:
Tanya Lattner 2008-05-14 16:32:44 +00:00
parent 7cc26f0421
commit ecd5a9390a

View File

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