commit: c8ab83d2bb117c3b737758b0c04ab9f4321badd7 Author: Peter Levine <plevine457 <AT> gmail <DOT> com> AuthorDate: Tue Oct 8 08:21:39 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Oct 14 07:14:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ab83d2
dev-cpp/gtest: use CMAKE_SKIP_TESTS to filter tests Signed-off-by: Peter Levine <plevine457 <AT> gmail.com> Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> dev-cpp/gtest/gtest-9999.ebuild | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-cpp/gtest/gtest-9999.ebuild b/dev-cpp/gtest/gtest-9999.ebuild index b0cdccd02275..f86a47387a97 100644 --- a/dev-cpp/gtest/gtest-9999.ebuild +++ b/dev-cpp/gtest/gtest-9999.ebuild @@ -34,6 +34,9 @@ RESTRICT="!test? ( test )" BDEPEND="test? ( ${PYTHON_DEPS} )" +# Exclude tests that fail with FEATURES="usersandbox" +CMAKE_SKIP_TESTS=( "googletest-(death-test|port)-test" ) + pkg_setup() { use test && python-any-r1_pkg_setup } @@ -61,11 +64,6 @@ multilib_src_configure() { cmake_src_configure } -multilib_src_test() { - # Exclude tests that fail with FEATURES="usersandbox" - cmake_src_test -E "googletest-(death-test|port)-test" -} - multilib_src_install_all() { einstalldocs