summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2009-10-04 23:53:17 -0400
committerAnthony Green <green@moxielogic.com>2009-10-04 23:53:17 -0400
commit2340e7a777902de61499d47823ad8d5e0eeb6203 (patch)
tree222707e7add9f2f127240b8d915a5dc2ef9c99f9 /testsuite
parent5cbe2058c128e848446ae79fe15ee54260a90559 (diff)
downloadlibffi-2340e7a777902de61499d47823ad8d5e0eeb6203.tar.gz
AVR support
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Makefile.in2
-rw-r--r--testsuite/libffi.call/cls_dbls_struct.c2
-rw-r--r--testsuite/libffi.call/cls_double_va.c1
-rw-r--r--testsuite/libffi.call/cls_longdouble_va.c2
-rw-r--r--testsuite/libffi.call/huge_struct.c4
5 files changed, 7 insertions, 4 deletions
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index 02facf4..18ce5f7 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -65,6 +65,8 @@ ARM_TRUE = @ARM_TRUE@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
+AVR32_FALSE = @AVR32_FALSE@
+AVR32_TRUE = @AVR32_TRUE@
AWK = @AWK@
CC = @CC@
CCAS = @CCAS@
diff --git a/testsuite/libffi.call/cls_dbls_struct.c b/testsuite/libffi.call/cls_dbls_struct.c
index fcf48b7..e62ddb4 100644
--- a/testsuite/libffi.call/cls_dbls_struct.c
+++ b/testsuite/libffi.call/cls_dbls_struct.c
@@ -57,7 +57,7 @@ int main(int argc __UNUSED__, char** argv __UNUSED__)
CHECK(ffi_prep_closure_loc(pcl, &cif, closure_test_gn, NULL, code) == FFI_OK);
((void*(*)(Dbls))(code))(arg);
- /* { dg-output "1.0 2.0\n" { xfail x86_64-*-linux-* } } */
+ /* { dg-output "1.0 2.0\n" { xfail avr32-*-* x86_64-*-linux-* } } */
closure_test_fn(arg);
/* { dg-output "1.0 2.0\n" } */
diff --git a/testsuite/libffi.call/cls_double_va.c b/testsuite/libffi.call/cls_double_va.c
index 45ce9bd..9373fac 100644
--- a/testsuite/libffi.call/cls_double_va.c
+++ b/testsuite/libffi.call/cls_double_va.c
@@ -5,6 +5,7 @@
Originator: Blake Chaffin 6/6/2007 */
/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
+/* { dg-output "" { xfail avr32-*-* } } */
#include "ffitest.h"
static void
diff --git a/testsuite/libffi.call/cls_longdouble_va.c b/testsuite/libffi.call/cls_longdouble_va.c
index 3d725bd..d6c8913 100644
--- a/testsuite/libffi.call/cls_longdouble_va.c
+++ b/testsuite/libffi.call/cls_longdouble_va.c
@@ -5,7 +5,7 @@
Originator: Blake Chaffin 6/6/2007 */
/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
-/* { dg-output "" { xfail x86_64-*-mingw* } } */
+/* { dg-output "" { xfail avr32-*-* x86_64-*-mingw* } } */
#include "ffitest.h"
static void
diff --git a/testsuite/libffi.call/huge_struct.c b/testsuite/libffi.call/huge_struct.c
index 85239d8..d43242d 100644
--- a/testsuite/libffi.call/huge_struct.c
+++ b/testsuite/libffi.call/huge_struct.c
@@ -5,10 +5,10 @@
Originator: Blake Chaffin 6/18/2007
*/
-/* { dg-excess-errors "" { target x86_64-*-mingw* x86_64-*-cygwin* i*86-*-linux-* x86_64-*-linux-* } } */
+/* { dg-excess-errors "" { target avr32-*-* x86_64-*-mingw* x86_64-*-cygwin* i*86-*-linux-* x86_64-*-linux-* } } */
/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* } } */
/* { dg-options -mlong-double-128 { target powerpc64*-*-* } } */
-/* { dg-output "" { xfail x86_64-*-mingw* x86_64-*-cygwin* i*86-*-linux-* x86_64-*-linux-* } } */
+/* { dg-output "" { xfail avr32-*-* x86_64-*-mingw* x86_64-*-cygwin* i*86-*-linux-* x86_64-*-linux-* } } */
#include <stdint.h>