diff mbox

[testsuite] : Some test case skips.

Message ID 4E1F0B20.9030703@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay July 14, 2011, 3:28 p.m. UTC
This patchlet fixes two test cases:

* gcc.dg/pr32912-2.c: TImode is overkill for AVR.
* gcc.dg/pr44674.c: Test if -fprofile-generate is available.

Ok to commit?

Johann

testsuite/
	* gcc.dg/pr32912-2.c: Skip for AVR.
	* gcc.dg/pr44674.c: Add dg-require-profiling.

Comments

Georg-Johann Lay July 20, 2011, 1:24 p.m. UTC | #1
http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01166.html

Georg-Johann Lay wrote:
> This patchlet fixes two test cases:
> 
> * gcc.dg/pr32912-2.c: TImode is overkill for AVR.
> * gcc.dg/pr44674.c: Test if -fprofile-generate is available.
> 
> Ok to commit?
> 
> Johann
> 
> testsuite/
> 	* gcc.dg/pr32912-2.c: Skip for AVR.
> 	* gcc.dg/pr44674.c: Add dg-require-profiling.
> 
> 
> Index: gcc.dg/pr32912-2.c
> ===================================================================
> --- gcc.dg/pr32912-2.c  (revision 176136)
> +++ gcc.dg/pr32912-2.c  (working copy)
> @@ -1,5 +1,6 @@
>  /* { dg-do run } */
>  /* { dg-options "-O2 -w" } */
> +/* { dg-skip-if "TImode not supported" { "avr-*-*" } { "*" } { "" } } */
> 
>  extern void abort (void);
> 
> Index: gcc.dg/pr44674.c
> ===================================================================
> --- gcc.dg/pr44674.c    (revision 176136)
> +++ gcc.dg/pr44674.c    (working copy)
> @@ -1,5 +1,6 @@
>  /* { dg-do compile } */
>  /* { dg-options "-O -fprofile-generate" } */
> +/* { dg-require-profiling "-fprofile-generate" } */
> 
>  void
>  jumpfunc (void *p)
>
Mike Stump July 20, 2011, 5:52 p.m. UTC | #2
On Jul 14, 2011, at 8:28 AM, Georg-Johann Lay wrote:
> This patchlet fixes two test cases:
> 
> * gcc.dg/pr32912-2.c: TImode is overkill for AVR.
> * gcc.dg/pr44674.c: Test if -fprofile-generate is available.
> 
> Ok to commit?

Ok.  [ Sorry, I missed this one. ]
diff mbox

Patch

Index: gcc.dg/pr32912-2.c
===================================================================
--- gcc.dg/pr32912-2.c  (revision 176136)
+++ gcc.dg/pr32912-2.c  (working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -w" } */
+/* { dg-skip-if "TImode not supported" { "avr-*-*" } { "*" } { "" } } */

 extern void abort (void);

Index: gcc.dg/pr44674.c
===================================================================
--- gcc.dg/pr44674.c    (revision 176136)
+++ gcc.dg/pr44674.c    (working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile } */
 /* { dg-options "-O -fprofile-generate" } */
+/* { dg-require-profiling "-fprofile-generate" } */

 void
 jumpfunc (void *p)