public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [pushed] testsuite, Darwin: Skip an unsupported test.
@ 2022-06-20 15:25 Iain Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain Sandoe @ 2022-06-20 15:25 UTC (permalink / raw)
  To: gcc-patches

Darwin does not support patchable function entries, skip the test
there.

tested on x86_64 darwin / linux, pushed to master, thanks,
Iain

gcc/testsuite/ChangeLog:

	* g++.dg/modules/pr105169_a.C: Skip the test on Darwin.
	* g++.dg/modules/pr105169_b.C: Likewise.
---
 gcc/testsuite/g++.dg/modules/pr105169_a.C | 2 +-
 gcc/testsuite/g++.dg/modules/pr105169_b.C | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/g++.dg/modules/pr105169_a.C b/gcc/testsuite/g++.dg/modules/pr105169_a.C
index 02660b3a0e4..e4ec855ab49 100644
--- a/gcc/testsuite/g++.dg/modules/pr105169_a.C
+++ b/gcc/testsuite/g++.dg/modules/pr105169_a.C
@@ -1,4 +1,4 @@
-/* { dg-module-do link } */
+/* { dg-module-do link { target { ! *-*-darwin* } } } */
 /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 
diff --git a/gcc/testsuite/g++.dg/modules/pr105169_b.C b/gcc/testsuite/g++.dg/modules/pr105169_b.C
index 7a9c5863a6a..afbb12927e4 100644
--- a/gcc/testsuite/g++.dg/modules/pr105169_b.C
+++ b/gcc/testsuite/g++.dg/modules/pr105169_b.C
@@ -1,4 +1,4 @@
-/* { dg-module-do link } */
+/* { dg-module-do link { target { ! *-*-darwin* } } } */
 /* { dg-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 /* { dg-additional-options "-std=c++11 -fpatchable-function-entry=2 -O2" } */
 
-- 
2.24.3 (Apple Git-128)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-20 15:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 15:25 [pushed] testsuite, Darwin: Skip an unsupported test Iain Sandoe

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