diff options
author | Peter Levine <plevine457@gmail.com> | 2022-11-20 04:05:55 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-11-23 01:43:39 +0000 |
commit | b53422e8c5e1d2426b89dd23004d3935d0e7f2f8 (patch) | |
tree | f9ef7f0cf593de969a896c5918ba3e2344843cb1 /dev-cpp/gtest | |
parent | dev-cpp/gtest: enable py3.11 (diff) | |
download | gentoo-b53422e8c5e1d2426b89dd23004d3935d0e7f2f8.tar.gz gentoo-b53422e8c5e1d2426b89dd23004d3935d0e7f2f8.tar.bz2 gentoo-b53422e8c5e1d2426b89dd23004d3935d0e7f2f8.zip |
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 <plevine457@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/gtest')
-rw-r--r-- | dev-cpp/gtest/gtest-9999.ebuild | 9 |
1 files 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 |