Trying to fix up tests
This commit is contained in:
parent
c0d49100dd
commit
f4ed5bcc98
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user