| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | set -eu |
| 3 | |
| 4 | pyvers=$(py3versionsscip-shell system . . py3versions. -s 2>/dev/nullscip-shell filesystem . . `/dev/null`.) |
| 5 | |
| 6 | cpscip-shell system . . cp. -a tests "$AUTOPKGTEST_TMP" |
| 7 | cd "$AUTOPKGTEST_TMP" |
| 8 | |
| 9 | for py in ${pyvers}; do |
| 10 | echoscip-shell system . . echo. "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-" |
| 11 | printfscip-shell system . . printf. '$ %s\n' "${py} -m pytest tests" |
| 12 | ${py} -m pytest tests |
| 13 | done |