diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-10-24 23:42:51 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-10-24 23:42:51 -0700 |
commit | b05a67bade02272d00e8adac3aa9f32e03d2da1f (patch) | |
tree | cee0eb7b75fde6d7577762370ca171b3bd26d740 | |
parent | 9cee1292597eca5166b5eb6867c825040bd31061 (diff) | |
download | portage-b05a67bade02272d00e8adac3aa9f32e03d2da1f.tar.gz portage-b05a67bade02272d00e8adac3aa9f32e03d2da1f.tar.bz2 portage-b05a67bade02272d00e8adac3aa9f32e03d2da1f.zip |
runtests.sh: add --python-versions option
-rwxr-xr-x | runtests.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh index d55860af0..31bbaf834 100755 --- a/runtests.sh +++ b/runtests.sh @@ -27,6 +27,19 @@ interrupted() { trap interrupted SIGINT +while [[ -n $1 ]] ; do + case "$1" in + --python-versions=*) + PYTHON_VERSIONS=${1#--python-versions=} + ;; + --python-versions) + shift + PYTHON_VERSIONS=$1 + ;; + esac + shift +done + exit_status="0" for version in ${PYTHON_VERSIONS}; do if [[ -x /usr/bin/python${version} ]]; then |