From b05a67bade02272d00e8adac3aa9f32e03d2da1f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 24 Oct 2011 23:42:51 -0700 Subject: [PATCH] runtests.sh: add --python-versions option --- runtests.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- 2.26.2