[libgpuarray] 02/03: Add autopkgtest suite with pocl

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jul 26 20:36:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository libgpuarray.

commit ebc40b878dd7ad51436802061eca4fd9bef9b493
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Jul 26 16:36:16 2017 +0100

    Add autopkgtest suite with pocl
---
 debian/control       |  1 -
 debian/tests/control | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index cf4748a..e57cc93 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,6 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
 Section: libs
 Priority: optional
-Testsuite: autopkgtest-pkg-python
 Build-Depends: cmake,
                cython (>= 0.25),
                cython-dbg,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..7b49268
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,33 @@
+Test-Command: set -e
+ ; for py in $(pyversions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; DEVICE=opencl0:0 $py -m nose pygpu
+ ; echo "Testing with $py-dbg:"
+ ; DEVICE=opencl0:0 $py-dbg -m nose pygpu
+ ; done
+Depends: ocl-icd-opencl-dev,
+         pocl-opencl-icd,
+         python-all,
+         python-all-dbg,
+         python-nose,
+         python-pygpu,
+         python-pygpu-dbg
+Restrictions: allow-stderr
+
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; DEVICE=opencl0:0 $py -m nose pygpu
+ ; echo "Testing with $py-dbg:"
+ ; DEVICE=opencl0:0 $py-dbg -m nose pygpu
+ ; done
+Depends: ocl-icd-opencl-dev,
+         pocl-opencl-icd,
+         python3-all,
+         python3-all-dbg,
+         python3-nose,
+         python3-pygpu,
+         python3-pygpu-dbg
+Restrictions: allow-stderr

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libgpuarray.git



More information about the debian-science-commits mailing list