Codebase list flask-login / 0d5f039
autopkgtest: Add a first basic setup Carsten Schoenert 1 year, 6 months ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 Tests: smoke
1 Depends:
2 python3-all,
3 @,
4 @builddeps@,
5 Restrictions: allow-stderr
0 #! /bin/sh
1
2 cp -r tests ${AUTOPKGTEST_TMP}
3
4 for py3vers in $(py3versions -s); do
5 echo
6 echo "***************************"
7 echo "*** Testing with ${py3vers}"
8 echo "***************************"
9 echo
10 cd ${AUTOPKGTEST_TMP} && \
11 echo "Content of current working folder:\n" && \
12 ls -la && \
13 echo "Running tests...\n" && \
14 PYTHONPATH=. ${py3vers} -m pytest -v tests && \
15 rm -rf .pytest_cache || exit 1
16 done