mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
testsuite: Move complex tests to their own subdirectory
It seems a bit silly to isolate them by globbing vs "*complex*" when we can just as easily put them in their own subdirectory.
This commit is contained in:
@@ -20,18 +20,9 @@ libffi-init
|
||||
global srcdir subdir
|
||||
|
||||
set tlist [lsearch -inline -all -not -glob [lsort [glob -nocomplain -- $srcdir/$subdir/*.{c,cc}]] *complex*]
|
||||
set ctlist [lsearch -inline -all -glob [lsort [glob -nocomplain -- $srcdir/$subdir/*.{c,cc}]] *complex*]
|
||||
|
||||
run-many-tests $tlist ""
|
||||
|
||||
if { [libffi_feature_test "#ifdef FFI_TARGET_HAS_COMPLEX_TYPE"] } {
|
||||
run-many-tests $ctlist ""
|
||||
} else {
|
||||
foreach test $ctlist {
|
||||
unsupported "$test"
|
||||
}
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
# Local Variables:
|
||||
|
||||
Reference in New Issue
Block a user