| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | set -efu |
| 3 | |
| 4 | export LC_ALL=C.UTF-8 |
| 5 | |
| 6 | cpscip-shell system . . cp. -a tests ${AUTOPKGTEST_TMP} |
| 7 | |
| 8 | for py3vers in $(py3versionsscip-shell system . . py3versions. -s); do |
| 9 | echoscip-shell system . . echo. |
| 10 | echoscip-shell system . . echo. "***************************" |
| 11 | echoscip-shell system . . echo. "*** Testing with ${py3vers}" |
| 12 | echoscip-shell system . . echo. "***************************" |
| 13 | echoscip-shell system . . echo. |
| 14 | cd ${AUTOPKGTEST_TMP} && \ |
| 15 | echo "Content of current working folder:\n" && \ |
| 16 | ls -la && \ |
| 17 | echo "Running tests...\n" && \ |
| 18 | PYTHONPATH=. ${py3vers} -m pytest tests && \ |
| 19 | rm -rf .pytest_cache || exit 1 |
| 20 | done |
| 21 | |
| 22 | exit 0 |