summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2022-10-13 16:47:26 +0200
committerGard Spreemann <gspr@nonempty.org>2022-10-13 16:47:26 +0200
commited2b2ac902cbd8859e475040dcd9978fd6d4e373 (patch)
tree153835cf8f54eb8b89cb2a8f6d8362681f73663f
parentd81d9df2a3343ac060ed19256fb5f52cfe3cab0f (diff)
Autodiscover tests
-rwxr-xr-xdebian/tests/tests-pocl.sh52
1 files changed, 1 insertions, 51 deletions
diff --git a/debian/tests/tests-pocl.sh b/debian/tests/tests-pocl.sh
index 31f445e8..c99b6872 100755
--- a/debian/tests/tests-pocl.sh
+++ b/debian/tests/tests-pocl.sh
@@ -3,57 +3,7 @@
set -u
set -e
-tests="\
-xamax \
-xasum \
-xaxpy \
-xaxpybatched \
-xcol2im \
-xconvgemm \
-xcopy \
-xdot \
-xdotc \
-xdotu \
-xgbmv \
-xgemm \
-xgemmbatched \
-xgemmstridedbatched \
-xgemv \
-xger \
-xgerc \
-xgeru \
-xhad \
-xhbmv \
-xhemm \
-xhemv \
-xher \
-xher2 \
-xher2k \
-xherk \
-xhpmv \
-xhpr \
-xhpr2 \
-xim2col \
-xnrm2 \
-xomatcopy \
-xsbmv \
-xscal \
-xspmv \
-xspr \
-xspr2 \
-xswap \
-xsymm \
-xsymv \
-xsyr \
-xsyr2 \
-xsyr2k \
-xsyrk \
-xtbmv \
-xtpmv \
-xtrmm \
-xtrmv \
-xtrsm \
-xtrsv"
+tests=$(find /usr/bin -type f -name 'clblast_test_*' | sed 's/\/usr\/bin\/clblast_test_//g' | sort)
gcc -std=c11 -Wall -pedantic -o ${AUTOPKGTEST_TMP}/find_pocl debian/tests/find_pocl.c -lOpenCL