This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] Add xfails to new libffi tests for SH


Hi,

The attached patch adds xfails to a few new libffi tests for SH
like as the other targets.  It's tested also on i686-pc-linux-gnu.
OK for trunk?

Regards,
	kaz
--
2009-06-11  Kaz Kojima  <kkojima@gcc.gnu.org>

	* testsuite/libffi.call/cls_longdouble_va.c: Add xfail sh*-*-linux-*.
	* testsuite/libffi.call/err_bad_abi.c: Add xfail sh*-*-*.
	* testsuite/libffi.call/err_bad_typedef.c: Likewise.

diff -uprN ORIG/trunk/libffi/testsuite/libffi.call/cls_longdouble_va.c trunk/libffi/testsuite/libffi.call/cls_longdouble_va.c
--- ORIG/trunk/libffi/testsuite/libffi.call/cls_longdouble_va.c	2009-06-10 13:01:23.000000000 +0900
+++ trunk/libffi/testsuite/libffi.call/cls_longdouble_va.c	2009-06-11 09:34:22.000000000 +0900
@@ -49,9 +49,9 @@ int main (void)
 	args[2] = NULL;
 
 	ffi_call(&cif, FFI_FN(printf), &res, args);
-	// { dg-output "7.0" { xfail i*86-*-linux-* x86_64-*-linux-* } }
+	// { dg-output "7.0" { xfail i*86-*-linux-* x86_64-*-linux-* sh*-*-linux-* } }
 	printf("res: %d\n", (int) res);
-	// { dg-output "\nres: 4" { xfail i*86-*-linux-* x86_64-*-linux-* } }
+	// { dg-output "\nres: 4" { xfail i*86-*-linux-* x86_64-*-linux-* sh*-*-linux-* } }
 
 	CHECK(ffi_prep_closure(pcl, &cif, cls_longdouble_va_fn, NULL) == FFI_OK);
 
diff -uprN ORIG/trunk/libffi/testsuite/libffi.call/err_bad_abi.c trunk/libffi/testsuite/libffi.call/err_bad_abi.c
--- ORIG/trunk/libffi/testsuite/libffi.call/err_bad_abi.c	2009-06-10 13:01:23.000000000 +0900
+++ trunk/libffi/testsuite/libffi.call/err_bad_abi.c	2009-06-11 08:39:54.000000000 +0900
@@ -4,7 +4,7 @@
    PR:			none.
    Originator:	Blake Chaffin 6/6/2007	 */
 
-/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* } } */
+/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* } } */
 #include "ffitest.h"
 
 static void
diff -uprN ORIG/trunk/libffi/testsuite/libffi.call/err_bad_typedef.c trunk/libffi/testsuite/libffi.call/err_bad_typedef.c
--- ORIG/trunk/libffi/testsuite/libffi.call/err_bad_typedef.c	2009-06-10 13:01:23.000000000 +0900
+++ trunk/libffi/testsuite/libffi.call/err_bad_typedef.c	2009-06-11 08:40:13.000000000 +0900
@@ -4,7 +4,7 @@
    PR:			none.
    Originator:	Blake Chaffin 6/6/2007	 */
 
-/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* } } */
+/* { dg-do run { xfail mips*-*-* arm*-*-* strongarm*-*-* xscale*-*-* i*86-*-linux-* x86_64-*-linux-* sh*-*-* } } */
 #include "ffitest.h"
 
 int main (void)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]