public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*
@ 2015-03-28 19:25 John David Anglin
  2015-03-29 20:01 ` Andreas Tobler
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2015-03-28 19:25 UTC (permalink / raw)
  To: GCC Patches; +Cc: andreast

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*.
In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp.

Tested on hppa2.0w-hp-hpux11.11.  Okay for trunk?

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: libffi-float2.d.2.txt --]
[-- Type: text/plain, Size: 1002 bytes --]

2015-03-28  John David Anglin  <danglin@gcc.gnu.org>

	PR libffi/65441
	* testsuite/lib/libffi.exp: Load target-supports-dg.exp.
	* testsuite/libffi.call/float2.c: Don't run on hppa*-*-hpux*.

Index: testsuite/lib/libffi.exp
===================================================================
--- testsuite/lib/libffi.exp	(revision 221726)
+++ testsuite/lib/libffi.exp	(working copy)
@@ -24,6 +24,7 @@
 load_lib dg.exp
 load_lib libgloss.exp
 load_gcc_lib target-supports.exp
+load_gcc_lib target-supports-dg.exp
 load_gcc_lib target-libpath.exp
 load_gcc_lib wrapper.exp
 
Index: testsuite/libffi.call/float2.c
===================================================================
--- testsuite/libffi.call/float2.c	(revision 221726)
+++ testsuite/libffi.call/float2.c	(working copy)
@@ -3,7 +3,7 @@
    Limitations:	none.
    PR:		none.
    Originator:	From the original ffitest.c  */
-/* { dg-do run } */
+/* { dg-do run { target { ! hppa*-*-hpux* } } } */
 
 #include "ffitest.h"
 #include "float.h"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*
  2015-03-28 19:25 [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux* John David Anglin
@ 2015-03-29 20:01 ` Andreas Tobler
  2015-10-26 22:01   ` Andreas Tobler
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Tobler @ 2015-03-29 20:01 UTC (permalink / raw)
  To: John David Anglin, GCC Patches

On 28.03.15 20:25, John David Anglin wrote:
> The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*.
> In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp.
>
> Tested on hppa2.0w-hp-hpux11.11.  Okay for trunk?

 From the testsuite pov. ok, but I do not have a picture of the trunk 
check in restrictions regarding the next release.

Thanks,
Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux*
  2015-03-29 20:01 ` Andreas Tobler
@ 2015-10-26 22:01   ` Andreas Tobler
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Tobler @ 2015-10-26 22:01 UTC (permalink / raw)
  To: John David Anglin, GCC Patches

Hi John,

On 29.03.15 22:01, Andreas Tobler wrote:
> On 28.03.15 20:25, John David Anglin wrote:
>> The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*.
>> In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp.
>>
>> Tested on hppa2.0w-hp-hpux11.11.  Okay for trunk?
>
>   From the testsuite pov. ok, but I do not have a picture of the trunk
> check in restrictions regarding the next release.

How about to commit now?

Andreas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-26 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-28 19:25 [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux* John David Anglin
2015-03-29 20:01 ` Andreas Tobler
2015-10-26 22:01   ` Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).