mirror of
https://github.com/libffi/libffi.git
synced 2026-01-26 18:08:57 +00:00
More more closure tests to the closure test directory
This commit is contained in:
parent
a37cc1755c
commit
c88c0e92a9
@ -47,7 +47,13 @@ for {set i 1} {$i < 82} {incr i} {
|
||||
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/test-callback.c]]
|
||||
|
||||
for {set i 1} {$i < 81} {incr i} {
|
||||
run-many-tests $tlist [format "-DDGTEST=%d %s" $i $warning_options]
|
||||
if { [libffi_feature_test "#if FFI_CLOSURES"] } {
|
||||
run-many-tests $tlist [format "-DDGTEST=%d %s" $i $warning_options]
|
||||
} else {
|
||||
foreach test $tlist {
|
||||
unsupported [format "%s -DDGTEST=%d %s" $test $i $warning_options]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user