Adding upstream version 0.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
a06c1515ef
commit
d5d4d405a2
75 changed files with 1281 additions and 1555 deletions
10
run_tests.sh
10
run_tests.sh
|
@ -13,7 +13,7 @@ help(){
|
|||
echo " -b, --build Run build tests"
|
||||
echo " -a, --all Run all tests and checks (unit, integration, pep8, git)"
|
||||
echo " -e, --envs [ENV1],[ENV2] Run tests against specified python environments"
|
||||
echo " (envs: 27,35,36,37,pypy2,pypy35)."
|
||||
echo " (envs: 36,37,38,39,pypy37)."
|
||||
echo " Also works for integration, pep8 and lint tests."
|
||||
echo " -C, --container Run the specified command in the container for the --envs specified"
|
||||
echo " --all-env Run all tests against all python environments"
|
||||
|
@ -261,9 +261,7 @@ install_virtualenv(){
|
|||
# For pypy: custom path + fetch from the web if not installed (=distro agnostic)
|
||||
if [[ $version == *"pypy"* ]]; then
|
||||
pypy_download_mirror="https://downloads.python.org/pypy"
|
||||
if [[ $version == *"pypy2"* ]]; then
|
||||
pypy_full_version="pypy2.7-v7.3.2-linux64"
|
||||
elif [[ $version == *"pypy36"* ]]; then
|
||||
if [[ $version == *"pypy36"* ]]; then
|
||||
pypy_full_version="pypy3.6-v7.3.2-linux64"
|
||||
elif [[ $version == *"pypy37"* ]]; then
|
||||
pypy_full_version="pypy3.7-v7.3.2-linux64"
|
||||
|
@ -365,7 +363,7 @@ uninstall_container(){
|
|||
|
||||
assert_specific_env(){
|
||||
if [ -z "$1" ] || [ "$1" == "default" ]; then
|
||||
fatal "ERROR: Please specify one or more valid python environments using --envs: 27,35,36,37,pypy2,pypy35"
|
||||
fatal "ERROR: Please specify one or more valid python environments using --envs: 36,37,38,39,pypy37"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
@ -461,7 +459,7 @@ exit_code=0
|
|||
|
||||
# If the users specified 'all', then just replace $envs with the list of all envs
|
||||
if [ "$envs" == "all" ]; then
|
||||
envs="27,35,36,37,38,39,pypy2,pypy35"
|
||||
envs="36,37,38,39,pypy37"
|
||||
fi
|
||||
original_envs="$envs"
|
||||
envs=$(echo "$envs" | tr ',' '\n') # Split the env list on comma so we can loop through it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue