[RFA] Add xfails to new libffi tests for SH

View: New views
3 Messages — Rating Filter:   Alert me  

[RFA] Add xfails to new libffi tests for SH

by Kaz Kojima :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>

        * 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)

Re: [RFA] Add xfails to new libffi tests for SH

by Andreas Tobler-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Kaz Kojima wrote:

> 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?
>

I would say yes.

Andreas



Re: [RFA] Add xfails to new libffi tests for SH

by Kaz Kojima :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andreas Tobler <andreast@...> wrote:
>> 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?
>>
>
> I would say yes.

Thanks!  I've applied it as revision 148402.

Regards,
        kaz