mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
Fix or1k lack-of-g++ checking in testsuite
This commit is contained in:
@@ -32,10 +32,21 @@ if { [string match $compiler_vendor "microsoft"] } {
|
|||||||
set additional_options "";
|
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
|
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
|
dg-finish
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
PR: none.
|
PR: none.
|
||||||
Originator: Jeff Sturm <jsturm@one-point.com> */
|
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"
|
#include "ffitest.h"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
PR: none.
|
PR: none.
|
||||||
Originator: Andreas Tobler <andreast@gcc.gnu.org> 20061213 */
|
Originator: Andreas Tobler <andreast@gcc.gnu.org> 20061213 */
|
||||||
|
|
||||||
/* { dg-do run { xfail moxie*-*-* or1k-unknown-elf } } */
|
/* { dg-do run { xfail moxie*-*-* } } */
|
||||||
|
|
||||||
#include "ffitest.h"
|
#include "ffitest.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user