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:
+1 -1
View File
@@ -4,7 +4,7 @@
PR: none.
Originator: Jeff Sturm <jsturm@one-point.com> */
/* { dg-do run { xfail x86_64-apple-darwin* moxie*-*-* or1k-*-* } } */
/* { dg-do run { xfail x86_64-apple-darwin* moxie*-*-* } } */
#include "ffitest.h"
+1 -1
View File
@@ -4,7 +4,7 @@
PR: none.
Originator: Andreas Tobler <andreast@gcc.gnu.org> 20061213 */
/* { dg-do run { xfail moxie*-*-* or1k-unknown-elf } } */
/* { dg-do run { xfail moxie*-*-* } } */
#include "ffitest.h"