mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-11 10:25:41 +00:00
Check if llvm-gcc is available before running tests. Patch by Matthijs Kooijman!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
load_lib llvm.exp
|
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}]]
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user