python-werkzeug/debian/tests/upstream

15 lines
295 B
Plaintext
Raw Normal View History

#!/bin/sh
set -eu
export LC_ALL=C.UTF-8
pyvers=$(py3versions -r 2>/dev/null)
cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"
for py in ${pyvers}; do
echo "-=-=-=-=-=-=-=- running tests for ${py} -=-=-=-=-=-=-=-=-"
printf '$ %s\n' "${py} -m pytest tests"
${py} -m pytest tests
done