mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
The 'false.c' test must depend on llvm-g++.
Also, turn on Objective-C/C++ tests. This should fix http://llvm.org/bugs/show_bug.cgi?id=3499. llvm-svn: 64084
This commit is contained in:
parent
a7287a61fb
commit
848de0c1c5
26
test/LLVMC/dg.exp
Normal file
26
test/LLVMC/dg.exp
Normal file
@ -0,0 +1,26 @@
|
||||
load_lib llvm.exp
|
||||
|
||||
set special_file "$srcdir/$subdir/false.c"
|
||||
|
||||
if [ llvm_gcc_supports c ] then {
|
||||
# tcl seems to lack 'filter' which would've made this easier...
|
||||
set temp [glob -nocomplain $srcdir/$subdir/*.{c}]
|
||||
set c_files [list]
|
||||
foreach f $temp { if {$f != $special_file} {lappend c_files $f}}
|
||||
|
||||
RunLLVMTests [lsort $c_files]
|
||||
}
|
||||
|
||||
if [ llvm_gcc_supports c++ ] then {
|
||||
RunLLVMTests [lsort [concat [glob -nocomplain $srcdir/$subdir/*.{cpp}] $special_file]]
|
||||
}
|
||||
|
||||
if [ llvm_gcc_supports objc ] then {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
|
||||
}
|
||||
|
||||
if [ llvm_gcc_supports obj-c++ ] then {
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{m}]]
|
||||
}
|
||||
|
||||
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]
|
@ -1,11 +0,0 @@
|
||||
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}]]
|
Loading…
Reference in New Issue
Block a user