summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-05-16 23:29:11 +0200
committerMichał Górny <mgorny@gentoo.org>2017-05-16 23:39:48 +0200
commit34396b1ad6869575590491764fa764785b05ff44 (patch)
treeb97cfac83cf79439e6e6eeb45a3551d85272f49a /dev-python/pylint
parentdev-python/pylint: Re-enable out-of-source builds (diff)
downloadgentoo-34396b1ad6869575590491764fa764785b05ff44.tar.gz
gentoo-34396b1ad6869575590491764fa764785b05ff44.tar.bz2
gentoo-34396b1ad6869575590491764fa764785b05ff44.zip
dev-python/pylint: Fix running *all* tests
Diffstat (limited to 'dev-python/pylint')
-rw-r--r--dev-python/pylint/pylint-1.7.1-r1.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-python/pylint/pylint-1.7.1-r1.ebuild b/dev-python/pylint/pylint-1.7.1-r1.ebuild
index 61bf81a92620..a26d98dcba57 100644
--- a/dev-python/pylint/pylint-1.7.1-r1.ebuild
+++ b/dev-python/pylint/pylint-1.7.1-r1.ebuild
@@ -31,7 +31,8 @@ RDEPEND="
dev-python/configparser[${PYTHON_USEDEP}]' -2)"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
- test? ( ${RDEPEND} )"
+ test? ( ${RDEPEND}
+ dev-python/pytest[${PYTHON_USEDEP}] )"
python_compile_all() {
# selection of straight html triggers a trivial annoying bug, we skirt it
@@ -39,10 +40,7 @@ python_compile_all() {
}
python_test() {
- ${EPYTHON} \
- -m unittest discover \
- -s pylint/test/ -p "*test_*".py \
- --verbose || die
+ py.test -v || die "Tests fail with ${EPYTHON}"
}
python_install_all() {