commit: 949e621be5d29535c5429211d940c9a6703da074 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Mon Jan 1 21:39:11 2018 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Mon Jan 1 21:39:11 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949e621b
dev-util/strace: Disable test suite when FEATURES=usersandbox is set Closes: https://bugs.gentoo.org/630096 Closes: https://bugs.gentoo.org/643044 Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-util/strace/strace-4.20.ebuild | 11 ++++++++++- dev-util/strace/strace-9999.ebuild | 12 +++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/dev-util/strace/strace-4.20.ebuild b/dev-util/strace/strace-4.20.ebuild index 458e7d64d80..e445febc786 100644 --- a/dev-util/strace/strace-4.20.ebuild +++ b/dev-util/strace/strace-4.20.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -66,6 +66,15 @@ src_configure() { econf $(use_with unwind libunwind) } +src_test() { + if has usersandbox $FEATURES ; then + ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044 + return 0 + fi + + default +} + src_install() { default use perl || rm "${ED}"/usr/bin/strace-graph diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild index 458e7d64d80..cfa22a181d7 100644 --- a/dev-util/strace/strace-9999.ebuild +++ b/dev-util/strace/strace-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -66,6 +66,16 @@ src_configure() { econf $(use_with unwind libunwind) } +src_test() { + if has usersandbox $FEATURES ; then + ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044 + return 0 + fi + + default +} + + src_install() { default use perl || rm "${ED}"/usr/bin/strace-graph