testsuite: Unify the C and C++ testsuites
These two testsuites differ only in the source file glob and a couple of additional compiler options; unify the remaining bits.
This commit is contained in:
@@ -20,6 +20,9 @@ libffi-init
|
||||
global srcdir subdir
|
||||
|
||||
run-many-tests [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] ""
|
||||
if { [string match $using_gcc "yes"] } {
|
||||
run-many-tests [lsort [glob -nocomplain $srcdir/$subdir/*.cc]] "-shared-libgcc -lstdc++"
|
||||
}
|
||||
|
||||
dg-finish
|
||||
|
||||
|
||||
Reference in New Issue
Block a user