diff options
author | Sven Wegener <swegener@gentoo.org> | 2020-04-01 23:33:44 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2020-04-01 23:35:43 +0200 |
commit | d860cc01a9fb0585f6a1ae70147bba2a06ff92a7 (patch) | |
tree | aca6492a51e507ef20ee631e3f0a7c50c2dfd8ca /dev-python | |
parent | dev-db/mariadb-connector-c: update live ebuild (diff) | |
download | gentoo-d860cc01a9fb0585f6a1ae70147bba2a06ff92a7.tar.gz gentoo-d860cc01a9fb0585f6a1ae70147bba2a06ff92a7.tar.bz2 gentoo-d860cc01a9fb0585f6a1ae70147bba2a06ff92a7.zip |
dev-python/hiredis: Add python_test()
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/hiredis/hiredis-1.0.1.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
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" +} |