projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3eefc
)
dev-python/hiredis: Add python_test()
author
Sven Wegener
<swegener@gentoo.org>
Wed, 1 Apr 2020 21:33:44 +0000
(23:33 +0200)
committer
Sven Wegener
<swegener@gentoo.org>
Wed, 1 Apr 2020 21:35:43 +0000
(23:35 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Sven Wegener <swegener@gentoo.org>
dev-python/hiredis/hiredis-1.0.1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/hiredis/hiredis-1.0.1.ebuild
b/dev-python/hiredis/hiredis-1.0.1.ebuild
index bc7739eaeec7adc9c5a3a293ab03d17e7a83ae97..1e14c85fa3987f265513e088b895e136b1e16863 100644
(file)
--- 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"
+}