mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 23:07:10 -08:00
dev-cpp/gtest: use CMAKE_SKIP_TESTS to filter tests
Signed-off-by: Peter Levine <plevine457@gmail.com> Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user