mirror of
https://github.com/partic2/libffi
synced 2026-11-11 10:37:19 +00:00
More more closure tests to the closure test directory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user