1
0
mirror of synced 2025-02-08 11:44:28 +01:00

Trying to fix up tests

This commit is contained in:
Horea Christian 2019-04-04 21:18:56 +02:00
parent c0d49100dd
commit f4ed5bcc98

View File

@ -41,7 +41,7 @@ S="${WORKDIR}/${MYP}"
DOCS=( CONTRIBUTORS.txt RELEASE.txt TODO.txt ) DOCS=( CONTRIBUTORS.txt RELEASE.txt TODO.txt )
# Fails on Gentoo # Fails on Gentoo
RESTRICT="test" #RESTRICT="test"
python_prepare_all() { python_prepare_all() {
# Remove pip dependency # Remove pip dependency
@ -58,7 +58,10 @@ python_test() {
echo "backend : Agg" > matplotlibrc || die echo "backend : Agg" > matplotlibrc || die
#echo "backend.qt4 : PyQt4" >> matplotlibrc || die #echo "backend.qt4 : PyQt4" >> matplotlibrc || die
#echo "backend.qt4 : PySide" >> matplotlibrc || die #echo "backend.qt4 : PySide" >> matplotlibrc || die
pytest -vv || die mkdir "${WORKDIR}/empty_test_dir" || die
cd "${WORKDIR}/empty_test_dir" || die
pytest --pyargs skimage || die
#pytest -vv || die
} }
pkg_postinst() { pkg_postinst() {