From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9ADE5158020 for ; Wed, 23 Nov 2022 01:45:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B8EEE0C14; Wed, 23 Nov 2022 01:45:22 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3F3BE0C14 for ; Wed, 23 Nov 2022 01:45:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05935340952 for ; Wed, 23 Nov 2022 01:45:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 333DD772 for ; Wed, 23 Nov 2022 01:45:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1669167819.b53422e8c5e1d2426b89dd23004d3935d0e7f2f8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/gtest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/gtest/gtest-9999.ebuild X-VCS-Directories: dev-cpp/gtest/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b53422e8c5e1d2426b89dd23004d3935d0e7f2f8 X-VCS-Branch: master Date: Wed, 23 Nov 2022 01:45:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0d4bd8e4-33cc-4572-b261-418109411c48 X-Archives-Hash: ae58476e66ee60b58e5aa8bad01b6ea2 commit: b53422e8c5e1d2426b89dd23004d3935d0e7f2f8 Author: Peter Levine gmail com> AuthorDate: Sun Nov 20 09:05:55 2022 +0000 Commit: Sam James gentoo org> CommitDate: Wed Nov 23 01:43:39 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b53422e8 dev-cpp/gtest: exclude tests that fail due to usersandbox Patching internal code to overcome test failure due to the usersandbox feature flag seems misguided. Other packages opt to skip such tests rather than patching compiled code or turning off usersandbox (bug# 413621, 603244). Let's do that. Bug: https://bugs.gentoo.org/413621 Bug: https://bugs.gentoo.org/603244 Signed-off-by: Peter Levine gmail.com> Signed-off-by: Sam James gentoo.org> dev-cpp/gtest/gtest-9999.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild index a337f063e2df..0895416d2312 100644 --- a/dev-cpp/gtest/gtest-9999.ebuild +++ b/dev-cpp/gtest/gtest-9999.ebuild @@ -34,10 +34,6 @@ RESTRICT="!test? ( test )" BDEPEND="test? ( ${PYTHON_DEPS} )" -PATCHES=( - "${FILESDIR}"/${PN}-1.10.0_p20200702-increase-clone-stack-size.patch -) - pkg_setup() { use test && python-any-r1_pkg_setup } @@ -62,6 +58,11 @@ multilib_src_configure() { cmake_src_configure } +multilib_src_test() { + # Exclude tests that fail with FEATURES="usersandbox" + cmake_src_test -E "googletest-death-test-test" +} + multilib_src_install_all() { einstalldocs