| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | set -e -u |
| 4 | |
| 5 | PYTEST_OPTIONS="-k 'not test_detect_all_and_detect_one_should_agree'" |
| 6 | |
| 7 | cpscip-shell system . . cp. -a setup.cfg test.py tests "${AUTOPKGTEST_TMP}" |
| 8 | |
| 9 | for py3vers in $(py3versionsscip-shell system . . py3versions. -s); do |
| 10 | echoscip-shell system . . echo. |
| 11 | echoscip-shell system . . echo. "***************************" |
| 12 | echoscip-shell system . . echo. "*** Testing with ${py3vers}" |
| 13 | echoscip-shell system . . echo. "***************************" |
| 14 | echoscip-shell system . . echo. |
| 15 | cd ${AUTOPKGTEST_TMP} && \ |
| 16 | echo -e "Content of current working folder:\n" && \ |
| 17 | ls -la && \ |
| 18 | echo -e "Running tests...\n" && \ |
| 19 | eval ${py3vers} -m pytest -sv test.py ${PYTEST_OPTIONS} && \ |
| 20 | rm -rf __pycache__ .hypothesis || exit 1 |
| 21 | done |
| 22 | |
| 23 | echoscip-shell system . . echo. |
| 24 | |
| 25 | exit 0 |