File: python

package info (click to toggle)
dials-data 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 944 kB
  • sloc: python: 647; sh: 31; makefile: 24
file content (13 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

# when run locally the system HOME is not available
export HOME=${AUTOPKGTEST_TMP}

cp -r tests ${AUTOPKGTEST_TMP}

cd ${AUTOPKGTEST_TMP}

for py in $(py3versions -s 2>/dev/null); do
    echo "Testing with $py: "
    $py -m pytest -v tests
done