1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/bin/sh
set -efu
blaslib=$(update-alternatives --list libblas.so.3 | grep $(basename $0))
update-alternatives --set libblas.so.3 $blaslib
echo "=== testing "$(basename $0)" ==="
# one python is enough
PYS=${PYS:-"$(pyversions -d 2>/dev/null)"}
#test only modules that link against libblas
PYS=$PYS TESTPKG=scipy.odr debian/tests/python2
PYS=$PYS TESTPKG=scipy.optimize debian/tests/python2
PYS=$PYS TESTPKG=scipy.spatial debian/tests/python2
PYS=$PYS TESTPKG=scipy.special debian/tests/python2
PYS=$PYS TESTPKG=scipy.cluster debian/tests/python2
PYS=$PYS TESTPKG=scipy.integrate debian/tests/python2
PYS=$PYS TESTPKG=scipy.interpolate debian/tests/python2
PYS=$PYS TESTPKG=scipy.sparse debian/tests/python2
PYS=$PYS TESTPKG=scipy.linalg debian/tests/python2
|