More more closure tests to the closure test directory

This commit is contained in:
Anthony Green
2019-11-22 19:27:34 -05:00
parent a37cc1755c
commit c88c0e92a9
22 changed files with 23 additions and 1 deletions
+16
View File
@@ -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: