summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2018-01-01 22:39:11 +0100
committerThomas Deutschmann <whissi@gentoo.org>2018-01-01 22:39:11 +0100
commit949e621be5d29535c5429211d940c9a6703da074 (patch)
treecbd142a0c10b6dbdb68f6a4c0a993a48bbe2ce47 /dev-util/strace/strace-4.20.ebuild
parentdev-util/strace: Cleanup old. (diff)
downloadgentoo-949e621be5d29535c5429211d940c9a6703da074.tar.gz
gentoo-949e621be5d29535c5429211d940c9a6703da074.tar.bz2
gentoo-949e621be5d29535c5429211d940c9a6703da074.zip
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
Diffstat (limited to 'dev-util/strace/strace-4.20.ebuild')
-rw-r--r--dev-util/strace/strace-4.20.ebuild11
1 files changed, 10 insertions, 1 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