From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RIajE-0004cT-VO for garchives@archives.gentoo.org; Tue, 25 Oct 2011 06:43:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5425E21C026; Tue, 25 Oct 2011 06:43:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2713B21C026 for ; Tue, 25 Oct 2011 06:43:09 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 90E871B401E for ; Tue, 25 Oct 2011 06:43:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0209180042 for ; Tue, 25 Oct 2011 06:43:08 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: runtests.sh X-VCS-Directories: / X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b05a67bade02272d00e8adac3aa9f32e03d2da1f Date: Tue, 25 Oct 2011 06:43:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 1c1e229d33e54199ea23b0c7c30785fe commit: b05a67bade02272d00e8adac3aa9f32e03d2da1f Author: Zac Medico gentoo org> AuthorDate: Tue Oct 25 06:42:51 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Oct 25 06:42:51 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Db05a67ba runtests.sh: add --python-versions option --- runtests.sh | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/runtests.sh b/runtests.sh index d55860a..31bbaf8 100755 --- a/runtests.sh +++ b/runtests.sh @@ -27,6 +27,19 @@ interrupted() { =20 trap interrupted SIGINT =20 +while [[ -n $1 ]] ; do + case "$1" in + --python-versions=3D*) + PYTHON_VERSIONS=3D${1#--python-versions=3D} + ;; + --python-versions) + shift + PYTHON_VERSIONS=3D$1 + ;; + esac + shift +done + exit_status=3D"0" for version in ${PYTHON_VERSIONS}; do if [[ -x /usr/bin/python${version} ]]; then