diff mbox series

[pushed] libphobos, testsuite: Disable forkgc2 on Darwin [PR103944]

Message ID 20230701161831.93249-1-iain@sandoe.co.uk
State New
Headers show
Series [pushed] libphobos, testsuite: Disable forkgc2 on Darwin [PR103944] | expand

Commit Message

Iain Sandoe July 1, 2023, 4:18 p.m. UTC
From: Iain Sandoe <iainsandoe@Apollo-3-VM-Lion-0-187.local>

This has been in use for some time across all the Darwin version supported
by D.  It has also been tested on x86_64-linux-gnu.

Approved on irc by Iain Buclaw, pushed to main (and will be backported).
thanks
Iain

--- 8< ---

It hangs the testsuite (requiring manual intervention to kill the
spawned processes) which breaks CI.  The reason for the hang id not
clear.  This skips the test for now (xfail does not work).

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>

	PR d/103944

libphobos/ChangeLog:

	* testsuite/libphobos.gc/forkgc2.d: Skip for Darwin.
---
 libphobos/testsuite/libphobos.gc/forkgc2.d | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/libphobos/testsuite/libphobos.gc/forkgc2.d b/libphobos/testsuite/libphobos.gc/forkgc2.d
index de7796ced72..38d0d0c2f93 100644
--- a/libphobos/testsuite/libphobos.gc/forkgc2.d
+++ b/libphobos/testsuite/libphobos.gc/forkgc2.d
@@ -1,3 +1,4 @@ 
+// { dg-skip-if "test hangs the testsuite PR103944" { *-*-darwin* } }
 import core.stdc.stdlib : exit;
 import core.sys.posix.sys.wait : waitpid;
 import core.sys.posix.unistd : fork;