Patchwork [testsuite] : Skip c-c++-common/pr54486.c test for mingw-targets

login
register
mail settings
Submitter Kai Tietz
Date March 7, 2013, 6:16 p.m.
Message ID <CAEwic4Y3H2HRmKMtgobDJi_Vr=MDChp_t38xjd1yBQrkq=SVsg@mail.gmail.com>
Download mbox | patch
Permalink /patch/225891/
State New
Headers show

Comments

Kai Tietz - March 7, 2013, 6:16 p.m.
Hi,

one small nit for mingw targets without gnu-style printf-formatter.

ChangeLog

2013-03-07  Kai Tietz  <ktietz@redhat.com>

	* c-c++-common/pr54486.c: Skip test for mingw-targets.

Ok for apply?

Regards,
Kai
Jeff Law - March 7, 2013, 7:28 p.m.
On 03/07/2013 11:16 AM, Kai Tietz wrote:
> Hi,
>
> one small nit for mingw targets without gnu-style printf-formatter.
>
> ChangeLog
>
> 2013-03-07  Kai Tietz  <ktietz@redhat.com>
>
> 	* c-c++-common/pr54486.c: Skip test for mingw-targets.
>
> Ok for apply?
OK.  Only because it's the testsuite and not a change to the compiler 
itself.  As Jakub mentioned, we need to be locking things down pretty 
tight at this stage in the game.

Jeff

Patch

Index: c-c++-common/pr54486.c
===================================================================
--- c-c++-common/pr54486.c	(Revision 196507)
+++ c-c++-common/pr54486.c	(Arbeitskopie)
@@ -1,6 +1,7 @@ 
 /* PR middle-end/54486 */
 /* { dg-do compile } */
 /* { dg-options "-Wformat" } */
+/* { dg-skip-if "no POSIX printf" { *-*-mingw* } { "*" } { "" } } */

 #ifdef __cplusplus
 extern "C" {