From patchwork Mon Feb 10 12:28:00 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 106252 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id F383C3858424 for ; Mon, 10 Feb 2025 12:28:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F383C3858424 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=cebitec.uni-bielefeld.de header.i=@cebitec.uni-bielefeld.de header.a=rsa-sha256 header.s=20200306 header.b=FTchDtOM X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 472153858D26 for ; Mon, 10 Feb 2025 12:28:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 472153858D26 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 472153858D26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739190483; cv=none; b=Zr46Vc2xCE4XPFek3TjK0eB7XZFzwDjON/Q2mnq4K2fMs6xuWLmlhnSgOs2rAwpCrNkGRS72DDofbr0Gdccv92alchwSrTIVAlq9UQBeG+A5RXrEfJVjnQnLgWrpGPMpeOInooYE1zOrTgtRiy2ulCWFTWwJmvbOtwwQUHY+laQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1739190483; c=relaxed/simple; bh=ci1xjcKedtH8aUr7IxlKbg2glKCs2xGg5SOqMpj0qy0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=c9uAzmzWV92wHdGAwWxRQWtltHbiUD2y//56Yzse/B+Xs5pNcCgkb+m3ULl6pR4HCbnpps+y5BJycsMUlXxrVSnBDCoOLtqL/M0d1zsKPe3Qyv5Nka+NzFwUJ1TMqeoIdr0Wv5YCziDlks6THVUtXJlHqIvBCpiaD+Aj2HFdrms= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 472153858D26 Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id D601EBF0A9; Mon, 10 Feb 2025 13:28:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1739190481; bh=ci1xj cKedtH8aUr7IxlKbg2glKCs2xGg5SOqMpj0qy0=; b=FTchDtOMsmBNh4m0mPiFY XMHRIwr28lC4l2L2Pqmx0Ggjw3RapnjsCMj0MPw+K/cN1lq6RN/mzR8PTIEpFpmM Sx1x3P3JpcukKkS+ANbJJHZVtNdrLZmOD5UIuQlw9gc6MZIpr4nUc4ZZn5YNBrSs 8NBapWG2GTRy8BOutVUzSv1mcEBVV02VJ0Ig3M5bNhy/8sPxsOHPMhTOPDrfJX8U DaS2BX9gT1Y26vwJ6DJl4Yp6eVOXZkgErUE5ftqmB+kgr2b+XUQGZo98+PS+oh2+ UNDpNXQrn5m8WZ+ptWTvQVLMfUsqcpFqM612hzyw7WuckB/BYOAEax++lsX5nBHw w== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7bAn3EQthYxE; Mon, 10 Feb 2025 13:28:01 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p508543b2.dip0.t-ipconnect.de [80.133.67.178]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 6B81CBEDF7; Mon, 10 Feb 2025 13:28:01 +0100 (CET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Iain Buclaw Subject: [PATCH] libphobos: Disable libphobos.phobos/std/concurrency.d on macOS 13+ [PR111628] Date: Mon, 10 Feb 2025 13:28:00 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-Spam-Status: No, score=-3785.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org The libphobos.phobos_shared/std/concurrency.d test just hangs on macOS 13 and beyond and isn't even termintated after the testsuite timeout is exceeded. Thus, more and more concurrency.exe processes keep accumulating, consuming CPU time for nothing. To avoid this, this patch skips the test on macOS 13+. The static test SEGVs immediately instead, but I'm skipping it too for symmetry. Tested no macOS 15 (where it becomes UNSUPPORTED) and 12 (where it still PASSes). I have no idea what happens on Darwin/arm64, so currently the skipping is restricted to Darwin/x86_64. Ok for trunk? Rainer # HG changeset patch # Parent 5a9fb5a372714eb68c3657870884a3b8b47cc268 libphobos: Disable libphobos.phobos/std/concurrency.d on macOS 13+ [PR111628] diff --git a/libphobos/testsuite/libphobos.phobos/phobos.exp b/libphobos/testsuite/libphobos.phobos/phobos.exp --- a/libphobos/testsuite/libphobos.phobos/phobos.exp +++ b/libphobos/testsuite/libphobos.phobos/phobos.exp @@ -37,6 +37,8 @@ set libphobos_skip_tests { # Skip curl tests if library is not available { libphobos.phobos/etc/c/curl.d { ! libcurl_available } } { libphobos.phobos/std/net/curl.d { ! libcurl_available } } + # Skip concurrency.d test: SEGVs or hangs on macOS 13+ (PR d/111628). + { libphobos.phobos/std/concurrency.d { x86_64-apple-darwin2[2-9]* } } } # Initialize dg. diff --git a/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp b/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp --- a/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp +++ b/libphobos/testsuite/libphobos.phobos_shared/phobos_shared.exp @@ -37,6 +37,8 @@ set libphobos_skip_tests { # Skip curl tests if library is not available { libphobos.phobos_shared/etc/c/curl.d { ! libcurl_available } } { libphobos.phobos_shared/std/net/curl.d { ! libcurl_available } } + # Skip concurrency.d test: SEGVs or hangs on macOS 13+ (PR d/111628). + { libphobos.phobos_shared/std/concurrency.d { x86_64-apple-darwin2[2-9]* } } } # Initialize dg.