aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-12-02 19:02:26 +0100
committerFabian Groffen <grobian@gentoo.org>2011-12-02 19:02:26 +0100
commitf5b5a26b7d729a93b784de29e438ad76b3e7c433 (patch)
tree0407573f765b17ac466b9eb71c30253e11277c85 /runtests.sh
parentsave_elf_debug: take offset into account (diff)
parent_profile_node: use collections.namedtuple (diff)
downloadportage-f5b5a26b7d729a93b784de29e438ad76b3e7c433.tar.gz
portage-f5b5a26b7d729a93b784de29e438ad76b3e7c433.tar.bz2
portage-f5b5a26b7d729a93b784de29e438ad76b3e7c433.zip
Merge commit 'v2.2.0_alpha72' into prefix
Conflicts: bin/lock-helper.py bin/xpak-helper.py pym/_emerge/actions.py pym/portage/__init__.py
Diffstat (limited to 'runtests.sh')
-rwxr-xr-xruntests.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/runtests.sh b/runtests.sh
index b8be75c83..d2299f6ae 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -27,6 +27,26 @@ interrupted() {
trap interrupted SIGINT
+unused_args=()
+
+while [[ -n $1 ]] ; do
+ case "$1" in
+ --python-versions=*)
+ PYTHON_VERSIONS=${1#--python-versions=}
+ ;;
+ --python-versions)
+ shift
+ PYTHON_VERSIONS=$1
+ ;;
+ *)
+ unused_args[${#unused_args[@]}]=$1
+ ;;
+ esac
+ shift
+done
+
+set -- "${unused_args[@]}"
+
exit_status="0"
for version in ${PYTHON_VERSIONS}; do
if [[ -x @PREFIX_PORTAGE_PYTHON@${version} ]]; then