projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc29b87
)
dev-python/authres: Simplify test phase
author
Michał Górny
<mgorny@gentoo.org>
Tue, 9 Apr 2019 10:46:42 +0000
(12:46 +0200)
committer
Michał Górny
<mgorny@gentoo.org>
Tue, 9 Apr 2019 10:50:51 +0000
(12:50 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/authres/authres-1.1.1.ebuild
patch
|
blob
|
history
diff --git
a/dev-python/authres/authres-1.1.1.ebuild
b/dev-python/authres/authres-1.1.1.ebuild
index 0823667ce45774d27a1361b0f7d743a9fb5e3405..9beb27ee9cfe08a4df806ad30477a9583087b709 100644
(file)
--- a/
dev-python/authres/authres-1.1.1.ebuild
+++ b/
dev-python/authres/authres-1.1.1.ebuild
@@
-16,6
+16,6
@@
SLOT="0"
IUSE=""
python_test() {
- "${
PYTHON}" -c "import sys, authres, doctest; f, t = doctest.testfile('authres/tests'); \
-
sys.exit(bool(f))" ||
die "Tests fail with ${EPYTHON}"
+ "${
EPYTHON}" -m doctest -v authres/tests ||
+ die "Tests fail with ${EPYTHON}"
}