1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/bin/sh -e
# temporarly install the ascent dataset
mkdir -p "$AUTOPKGTEST_TMP"/.cache/scipy-data/
cp debian/dataset-ascent/ascent.dat "$AUTOPKGTEST_TMP"/.cache/scipy-data/
# run most of the test suite without the OpenCL part
# do not run Qt test on armel and armhf
if [ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armel" ] || \
[ "$(dpkg-architecture -qDEB_BUILD_ARCH)" = "armhf" ]; then
export WITH_QT_TEST=False
fi
for py in $(py3versions -s 2>/dev/null)
do cd "$AUTOPKGTEST_TMP"
echo "Testing with $py:"
HOME="$AUTOPKGTEST_TMP" SILX_OPENCL=False SILX_TEST_LOW_MEM=False xvfb-run -a --server-args="-screen 0 1024x768x24" $py -m pytest --pyargs silx 2>&1
done
|