diff options
Diffstat (limited to 'debian/tests/no-opencl')
-rwxr-xr-x | debian/tests/no-opencl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/no-opencl b/debian/tests/no-opencl new file mode 100755 index 0000000..0041789 --- /dev/null +++ b/debian/tests/no-opencl @@ -0,0 +1,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 |