From 949e621be5d29535c5429211d940c9a6703da074 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Mon, 1 Jan 2018 22:39:11 +0100 Subject: [PATCH] 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 458e7d64d80e..e445febc7869 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 458e7d64d80e..cfa22a181d7a 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 -- 2.26.2