dev-util/strace: Disable test suite when FEATURES=usersandbox is set
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 1 Jan 2018 21:39:11 +0000 (22:39 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Mon, 1 Jan 2018 21:39:11 +0000 (22:39 +0100)
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
dev-util/strace/strace-9999.ebuild

index 458e7d64d80e98a37de004f73f90a58f8fa74211..e445febc78693773e92c4550558d5056efc58fa8 100644 (file)
@@ -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
index 458e7d64d80e98a37de004f73f90a58f8fa74211..cfa22a181d7a033b4e19278cf29d736e98b4ce56 100644 (file)
@@ -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