From: Sven Wegener Date: Wed, 1 Apr 2020 21:33:44 +0000 (+0200) Subject: dev-python/hiredis: Add python_test() X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d860cc01a9fb0585f6a1ae70147bba2a06ff92a7;p=gentoo.git dev-python/hiredis: Add python_test() Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sven Wegener --- diff --git a/dev-python/hiredis/hiredis-1.0.1.ebuild b/dev-python/hiredis/hiredis-1.0.1.ebuild index bc7739eaeec7..1e14c85fa398 100644 --- a/dev-python/hiredis/hiredis-1.0.1.ebuild +++ b/dev-python/hiredis/hiredis-1.0.1.ebuild @@ -22,3 +22,8 @@ PATCHES=( "${FILESDIR}"/${P}-system-libs.patch "${FILESDIR}"/${P}-api-0.14.patch ) + +python_test() { + cd test + "${EPYTHON}" -m unittest reader.ReaderTest || die "tests failed" +}