commit:     f8f3fc131ee6c2e2892895651186c7cac1a04f41
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 22:33:32 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 22:33:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f3fc13

dev-util/patchutils: fix tests.

Gentoo-Bug: https://bugs.gentoo.org/605952

Package-Manager: portage-2.3.0

 dev-util/patchutils/patchutils-0.3.4.ebuild | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/dev-util/patchutils/patchutils-0.3.4.ebuild 
b/dev-util/patchutils/patchutils-0.3.4.ebuild
index 25ae2c8..a225494 100644
--- a/dev-util/patchutils/patchutils-0.3.4.ebuild
+++ b/dev-util/patchutils/patchutils-0.3.4.ebuild
@@ -13,11 +13,15 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux 
~ppc-macos ~sparc-solaris ~x86-solaris"
 IUSE="test"
 
-RDEPEND=""
-# The testsuite makes use of gendiff(1) that comes from rpm, thus if
-# the user wants to run tests, it should install that too.
+# testsuite makes use of gendiff(1) that comes from rpm, thus if the user wants
+# to run tests, it should install that package as well.
 DEPEND="test? ( app-arch/rpm )"
 
 PATCHES=(
        "${FILESDIR}/${PN}-0.3.3-format-security.patch"
 )
+
+src_test() {
+       # See bug 605952.
+       make check || die
+}

Reply via email to