| 1 |
#!/bin/bash |
| 2 |
set -efu |
| 3 |
|
| 4 |
# logic copied from nipype |
| 5 |
|
| 6 |
# 'nipype.interfaces.io.BIDSDataGrabber' obviously |
| 7 |
# does not exists here but I don't want to waste |
| 8 |
# too much time on s390x arch without real users. |
| 9 |
SKIP_TEST="not nipype.interfaces.io.BIDSDataGrabber" |
| 10 |
arch=$(dpkg-architecture -qDEB_HOST_ARCH) |
| 11 |
# skip tests |
| 12 |
if [ "$arch" = "s390x" ]; then |
| 13 |
SKIP_TEST=$SKIP_TEST" and not test_legacy_underscore_content" |
| 14 |
fi |
| 15 |
|
| 16 |
|
| 17 |
for py in $(py3versions --supported) |
| 18 |
do |
| 19 |
$py -m pytest -k "$SKIP_TEST" -v nibabel |
| 20 |
done |
| 21 |
|