mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
More more closure tests to the closure test directory
This commit is contained in:
@@ -43,6 +43,22 @@ if { [libffi_feature_test "#if FFI_CLOSURES"] } {
|
||||
}
|
||||
}
|
||||
|
||||
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.cc]]
|
||||
|
||||
# No C++ for or1k
|
||||
if { [istarget "or1k-*-*"] } {
|
||||
foreach test $tlist {
|
||||
unsupported "$test"
|
||||
}
|
||||
} else {
|
||||
if { [libffi_feature_test "#if FFI_CLOSURES"] } {
|
||||
run-many-tests $tlist $additional_options
|
||||
} else {
|
||||
foreach test $tlist {
|
||||
unsupported "$test"
|
||||
}
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
# Local Variables:
|
||||
|
||||
Reference in New Issue
Block a user