dev-util/patchutils: fix tests.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 27 Jan 2017 22:33:32 +0000 (23:33 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 27 Jan 2017 22:33:32 +0000 (23:33 +0100)
Gentoo-Bug: https://bugs.gentoo.org/605952

Package-Manager: portage-2.3.0

dev-util/patchutils/patchutils-0.3.4.ebuild

index 25ae2c8004fc2424800c5bc338ef944c94f17b17..a2254947991307b08146542fa2784a487830ae26 100644 (file)
@@ -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
+}