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
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')
-rw-r--r--dev-util/strace/strace-4.20.ebuild11
-rw-r--r--dev-util/strace/strace-9999.ebuild12
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