summaryrefslogtreecommitdiff
path: root/debian/tests/no-opencl
blob: 00417891a62d1f8b6432f3efb0134f357cb433e1 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh -e

# run most of the test suite without the OpenCL part

for py in $(py3versions -r 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 -c "import sys; import silx.test; sys.exit(silx.test.run_tests())" 2>&1
done