aboutsummaryrefslogtreecommitdiff
path: root/dev-python/zope-publisher
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-02-08 00:17:57 -0500
committerJulien Roy <julien@jroy.ca>2023-02-08 00:17:57 -0500
commita7e92a62528e85ad1bf3eafc8c824aa0ce066386 (patch)
tree4db8e59f8db74a6f7cbf651646be488b8a4923b6 /dev-python/zope-publisher
parent39e99b03c3bdb85f20423662f9319b0edf0ddc85 (diff)
downloadMrRoy-Overlay-a7e92a62528e85ad1bf3eafc8c824aa0ce066386.tar.gz
MrRoy-Overlay-a7e92a62528e85ad1bf3eafc8c824aa0ce066386.tar.bz2
MrRoy-Overlay-a7e92a62528e85ad1bf3eafc8c824aa0ce066386.zip
dev-python/*: WIP tests
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-python/zope-publisher')
-rw-r--r--dev-python/zope-publisher/zope-publisher-6.1.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-python/zope-publisher/zope-publisher-6.1.0.ebuild b/dev-python/zope-publisher/zope-publisher-6.1.0.ebuild
index b738fff..db25df1 100644
--- a/dev-python/zope-publisher/zope-publisher-6.1.0.ebuild
+++ b/dev-python/zope-publisher/zope-publisher-6.1.0.ebuild
@@ -43,7 +43,7 @@ RDEPEND="
DEPEND="${RDEPEND}"
distutils_enable_sphinx docs
-distutils_enable_tests unittest
+distutils_enable_tests setup.py
src_prepare() {
# strip rdep specific to namespaces
@@ -64,7 +64,7 @@ python_compile_all() {
}
python_test() {
- cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
distutils_write_namespace zope
- eunittest
+ zope-testrunner -pvc -j "$(nproc)" --usecompiled \
+ --path "${BUILD_DIR}/install$(python_get_sitedir)/zope" || die
}