public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] skip ARM tests if no THUMB support
@ 2011-06-14 17:59 Janis Johnson
  2011-06-14 19:38 ` Mike Stump
  0 siblings, 1 reply; 2+ messages in thread
From: Janis Johnson @ 2011-06-14 17:59 UTC (permalink / raw)
  To: gcc-patches

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

Fix three ARM tests so they are skipped for multilibs that don't support
THUMB.  OK for trunk and 4.6?

Janis

[-- Attachment #2: gcc-20110614-2 --]
[-- Type: text/plain, Size: 1507 bytes --]

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.

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)

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

* Re: [testsuite] skip ARM tests if no THUMB support
  2011-06-14 17:59 [testsuite] skip ARM tests if no THUMB support Janis Johnson
@ 2011-06-14 19:38 ` Mike Stump
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Stump @ 2011-06-14 19:38 UTC (permalink / raw)
  To: Janis Johnson; +Cc: gcc-patches

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.

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

end of thread, other threads:[~2011-06-14 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 17:59 [testsuite] skip ARM tests if no THUMB support Janis Johnson
2011-06-14 19:38 ` Mike Stump

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