File: run-tests

package info (click to toggle)
hickle 5.0.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 956 kB
  • sloc: python: 5,578; sh: 17; makefile: 15
file content (17 lines) | stat: -rwxr-xr-x 577 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e
arch=$(uname -m)
pkg=hickle
if [ "$AUTOPKGTEST_TMP" = "" ] ; then
        AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
fi
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
    mkdir ${py}; cd ${py}
    if [[ "$arch" == "s390x" ]]; then
        $py -Wd -m pytest -k "not (test_astropy_time_array or test_H5NodeFilterProxyi or test_LoaderManager_load_loader)" --no-cov -v -x --pyargs hickle 2>&1
    else
        $py -Wd -m pytest -k "not (test_H5NodeFilterProxy or test_LoaderManager_load_loader)" --no-cov -v -x --pyargs hickle 2>&1
    fi
done