From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id B29143858C50; Tue, 23 Apr 2024 14:13:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B29143858C50 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1713881592; bh=jEvz677Pc08185zjaZyx8q73LZ1Im0Nn1Dq7CLhVlr0=; h=From:To:Subject:Date:From; b=v/ORf2oQj3e+7MjCoW6PUaNJPVdVQBVOaiL8EqnTgvHOfnGKGeyFPmgi7/my0FaAm uBnF91R8LeQPGIeltV3s2+B6Tif3w+Epd/mUIUt2T7eLgTPle/AzJ75uLXNXbe8GkD cup/6hOBzPzOwVQkQJri2orFvmfzoyZ5yWZjCfaI= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc r11-11344] libphobos, testsuite: Add prune clauses for two Darwin cases. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 4b263d5d06494774bc72f85b1206e1dc2c8fbd15 X-Git-Newrev: 4a0e4f68a39c19c27456c9925c9dc85a3617ebad Message-Id: <20240423141312.B29143858C50@sourceware.org> Date: Tue, 23 Apr 2024 14:13:12 +0000 (GMT) List-Id: https://gcc.gnu.org/g:4a0e4f68a39c19c27456c9925c9dc85a3617ebad commit r11-11344-g4a0e4f68a39c19c27456c9925c9dc85a3617ebad Author: Iain Sandoe Date: Fri Nov 19 15:48:53 2021 +0000 libphobos, testsuite: Add prune clauses for two Darwin cases. Depending on the permutation of CPU, OS version and shared/non- shared library inclusion, we get can get two warnings from the external tools (ld64, dsymutil) which are not actually GCC issues but relate to the external tools. These are alrrady pruned in the main testsuite, this adds them to the library. Signed-off-by: Iain Sandoe libphobos/ChangeLog: * testsuite/lib/libphobos.exp: Prune warnings from external tool bugs. (cherry picked from commit 532fae74c3b1197023a765272892e12e123f0a56) Diff: --- libphobos/testsuite/lib/libphobos.exp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libphobos/testsuite/lib/libphobos.exp b/libphobos/testsuite/lib/libphobos.exp index 3be2092b12e..2af430a0e45 100644 --- a/libphobos/testsuite/lib/libphobos.exp +++ b/libphobos/testsuite/lib/libphobos.exp @@ -90,6 +90,13 @@ proc libphobos-dg-test { prog do_what extra_tool_flags } { } proc libphobos-dg-prune { system text } { + + # Ignore harmless warnings from Xcode. + regsub -all "(^|\n)\[^\n\]*ld: warning: could not create compact unwind for\[^\n\]*" $text "" text + + # Ignore dsymutil warning (tool bug is actually linker) + regsub -all "(^|\n)\[^\n\]*could not find object file symbol for symbol\[^\n\]*" $text "" text + return $text }