mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Fix or1k lack-of-g++ checking in testsuite
This commit is contained in:
@@ -32,10 +32,21 @@ if { [string match $compiler_vendor "microsoft"] } {
|
||||
set additional_options "";
|
||||
}
|
||||
|
||||
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.{c,cc}]]
|
||||
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.c]]
|
||||
|
||||
run-many-tests $tlist $additional_options
|
||||
|
||||
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.cc]]
|
||||
|
||||
# No C++ for or1k
|
||||
if { [istarget "or1k-*-*"] } {
|
||||
foreach test $tlist {
|
||||
unsupported "$test"
|
||||
}
|
||||
} else {
|
||||
run-many-tests $tlist $additional_options
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
# Local Variables:
|
||||
|
||||
Reference in New Issue
Block a user