| 1 |
#!/bin/sh |
| 2 |
set -efu |
| 3 |
|
| 4 |
case $(dpkg --print-architecture) in |
| 5 |
arm64|i386) pys=$(py3versions -d) ;; |
| 6 |
*) pys=$(py3versions -s) ;; |
| 7 |
esac |
| 8 |
|
| 9 |
cores=$(nproc) |
| 10 |
|
| 11 |
cp -a cython.py cythonize.py docs tests Demos runtests.py "$AUTOPKGTEST_TMP" |
| 12 |
cd "$AUTOPKGTEST_TMP" |
| 13 |
|
| 14 |
for py in $pys; do |
| 15 |
echo "=== $py ===" |
| 16 |
$py runtests.py --shard_count=$cores \ |
| 17 |
--no-refnanny -v -v \ |
| 18 |
--exclude='(parallel|Debugger|annotate_html|numpy_test|subinterpreters_threading_stress_test|depfile)' \ |
| 19 |
--work-dir="$AUTOPKGTEST_TMP/test-work-dir" |
| 20 |
rm -rf "$AUTOPKGTEST_TMP/test-work-dir" |
| 21 |
done |