1 |
commit: 949e621be5d29535c5429211d940c9a6703da074 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 21:39:11 2018 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 21:39:11 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=949e621b |
7 |
|
8 |
dev-util/strace: Disable test suite when FEATURES=usersandbox is set |
9 |
|
10 |
Closes: https://bugs.gentoo.org/630096 |
11 |
Closes: https://bugs.gentoo.org/643044 |
12 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
13 |
|
14 |
dev-util/strace/strace-4.20.ebuild | 11 ++++++++++- |
15 |
dev-util/strace/strace-9999.ebuild | 12 +++++++++++- |
16 |
2 files changed, 21 insertions(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/strace/strace-4.20.ebuild b/dev-util/strace/strace-4.20.ebuild |
19 |
index 458e7d64d80..e445febc786 100644 |
20 |
--- a/dev-util/strace/strace-4.20.ebuild |
21 |
+++ b/dev-util/strace/strace-4.20.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Copyright 1999-2018 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
@@ -66,6 +66,15 @@ src_configure() { |
29 |
econf $(use_with unwind libunwind) |
30 |
} |
31 |
|
32 |
+src_test() { |
33 |
+ if has usersandbox $FEATURES ; then |
34 |
+ ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044 |
35 |
+ return 0 |
36 |
+ fi |
37 |
+ |
38 |
+ default |
39 |
+} |
40 |
+ |
41 |
src_install() { |
42 |
default |
43 |
use perl || rm "${ED}"/usr/bin/strace-graph |
44 |
|
45 |
diff --git a/dev-util/strace/strace-9999.ebuild b/dev-util/strace/strace-9999.ebuild |
46 |
index 458e7d64d80..cfa22a181d7 100644 |
47 |
--- a/dev-util/strace/strace-9999.ebuild |
48 |
+++ b/dev-util/strace/strace-9999.ebuild |
49 |
@@ -1,4 +1,4 @@ |
50 |
-# Copyright 1999-2017 Gentoo Foundation |
51 |
+# Copyright 1999-2018 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
|
54 |
EAPI=6 |
55 |
@@ -66,6 +66,16 @@ src_configure() { |
56 |
econf $(use_with unwind libunwind) |
57 |
} |
58 |
|
59 |
+src_test() { |
60 |
+ if has usersandbox $FEATURES ; then |
61 |
+ ewarn "Test suite is known to fail with FEATURES=usersandbox -- skipping ..." #643044 |
62 |
+ return 0 |
63 |
+ fi |
64 |
+ |
65 |
+ default |
66 |
+} |
67 |
+ |
68 |
+ |
69 |
src_install() { |
70 |
default |
71 |
use perl || rm "${ED}"/usr/bin/strace-graph |