Fix or1k lack-of-g++ checking in testsuite

This commit is contained in:
Anthony Green
2019-11-20 07:16:41 -05:00
parent 31543c799a
commit 91a7fbe94e
3 changed files with 14 additions and 3 deletions
+12 -1
View File
@@ -32,10 +32,21 @@ if { [string match $compiler_vendor "microsoft"] } {
set additional_options "";
}
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.{c,cc}]]
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.c]]
run-many-tests $tlist $additional_options
set tlist [lsort [glob -nocomplain -- $srcdir/$subdir/*.cc]]
# No C++ for or1k
if { [istarget "or1k-*-*"] } {
foreach test $tlist {
unsupported "$test"
}
} else {
run-many-tests $tlist $additional_options
}
dg-finish
# Local Variables: