1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/bin/sh
export PYTHONWARNINGS=d
python3_all="$(py3versions -s 2>/dev/null)"
TESTS_TO_EXCLUDE="\
not test_automatic_rename_option \
and not test_environment_variables \
and not test_first_pane_start_directory \
and not test_load_zsh_autotitle_warning \
and not test_window_shell \
"
cp -r conftest.py docs examples tests $AUTOPKGTEST_TMP
cd "$AUTOPKGTEST_TMP"
ret=0
for py in $python3_all; do
echo "=== $py ==="
$py -m pytest -k "$TESTS_TO_EXCLUDE" || ret=1
done
exit $ret
|