public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] x86: Limit PR 35513 tests to Linux
@ 2022-03-01 15:44 H.J. Lu
  2022-03-02 19:04 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2022-03-01 15:44 UTC (permalink / raw)
  To: gcc-patches

Limit PR 35513 tests to Linux since they fail on 32-bit Solaris/x86 with
Solaris linker.

	PR testsuite/104725
	* g++.target/i386/pr35513-1.C: Limit to Linux.
	* g++.target/i386/pr35513-2.C: Likewise.
---
 gcc/testsuite/g++.target/i386/pr35513-1.C | 2 +-
 gcc/testsuite/g++.target/i386/pr35513-2.C | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.target/i386/pr35513-1.C b/gcc/testsuite/g++.target/i386/pr35513-1.C
index daa615662c5..82e63277fd2 100644
--- a/gcc/testsuite/g++.target/i386/pr35513-1.C
+++ b/gcc/testsuite/g++.target/i386/pr35513-1.C
@@ -1,4 +1,4 @@
-// { dg-do run { target property_1_needed } }
+// { dg-do run { target { *-*-linux* && property_1_needed } } }
 // { dg-options "-O2 -mno-direct-extern-access" }
 
 #include <iostream>
diff --git a/gcc/testsuite/g++.target/i386/pr35513-2.C b/gcc/testsuite/g++.target/i386/pr35513-2.C
index ecccdaeb666..95782b10cf3 100644
--- a/gcc/testsuite/g++.target/i386/pr35513-2.C
+++ b/gcc/testsuite/g++.target/i386/pr35513-2.C
@@ -1,4 +1,4 @@
-// { dg-do run { target property_1_needed } }
+// { dg-do run { target { *-*-linux* && property_1_needed } } }
 // { dg-options "-O2 -mno-direct-extern-access" }
 
 class Foo 
-- 
2.35.1


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

* Re: [PATCH] x86: Limit PR 35513 tests to Linux
  2022-03-01 15:44 [PATCH] x86: Limit PR 35513 tests to Linux H.J. Lu
@ 2022-03-02 19:04 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2022-03-02 19:04 UTC (permalink / raw)
  To: H.J. Lu, gcc-patches



On 3/1/2022 8:44 AM, H.J. Lu via Gcc-patches wrote:
> Limit PR 35513 tests to Linux since they fail on 32-bit Solaris/x86 with
> Solaris linker.
>
> 	PR testsuite/104725
> 	* g++.target/i386/pr35513-1.C: Limit to Linux.
> 	* g++.target/i386/pr35513-2.C: Likewise.
OK
jeff


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

end of thread, other threads:[~2022-03-02 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 15:44 [PATCH] x86: Limit PR 35513 tests to Linux H.J. Lu
2022-03-02 19:04 ` Jeff Law

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