diff mbox

[testsuite] skip ARM tests if no THUMB support

Message ID 4DF7A15F.1060300@codesourcery.com
State New
Headers show

Commit Message

Janis Johnson June 14, 2011, 5:58 p.m. UTC
Fix three ARM tests so they are skipped for multilibs that don't support
THUMB.  OK for trunk and 4.6?

Janis
2011-06-14  Janis Johnson  <janisjo@codesourcery.com>

	* gcc.target/arm/pr45701-1.c: Require thumb support.
	* gcc.target/arm/pr45701-2.c: Likewise.
	* gcc.target/arm/thumb-branch1.c: Likewise.

Comments

Mike Stump June 14, 2011, 7:04 p.m. UTC | #1
On Jun 14, 2011, at 10:58 AM, Janis Johnson wrote:
> Fix three ARM tests so they are skipped for multilibs that don't support
> THUMB.  OK for trunk and 4.6?

Ok.
diff mbox

Patch

Index: gcc.target/arm/pr45701-1.c
===================================================================
--- gcc.target/arm/pr45701-1.c	(revision 174920)
+++ gcc.target/arm/pr45701-1.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
 /* { dg-options "-march=armv7-a -mthumb -Os" }  */
 /* { dg-final { scan-assembler "push\t\{r3" } } */
 /* { dg-final { scan-assembler-not "r8" } } */
Index: gcc.target/arm/pr45701-2.c
===================================================================
--- gcc.target/arm/pr45701-2.c	(revision 174920)
+++ gcc.target/arm/pr45701-2.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
 /* { dg-options "-march=armv7-a -mthumb -Os" }  */
 /* { dg-final { scan-assembler "push\t\{r3" } } */
 /* { dg-final { scan-assembler-not "r8" } } */
Index: gcc.target/arm/thumb-branch1.c
===================================================================
--- gcc.target/arm/thumb-branch1.c	(revision 174920)
+++ gcc.target/arm/thumb-branch1.c	(working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile } */
+/* { dg-skip-if "" { ! { arm_thumb1_ok || arm_thumb2_ok } } } */
 /* { dg-options "-Os -mthumb -march=armv5te" } */
 
 int returnbool(int a, int b)