2 # Copyright 2010-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_VERSIONS="2.6 2.7 3.1 3.2 3.3"
7 case "${NOCOLOR:-false}" in
21 echo "interrupted." >&2
25 trap interrupted SIGINT
28 for version in ${PYTHON_VERSIONS}; do
29 if [[ -x /usr/bin/python${version} ]]; then
30 echo -e "${GOOD}Testing with Python ${version}...${NORMAL}"
31 if ! /usr/bin/python${version} pym/portage/tests/runTests "$@" ; then
32 echo -e "${BAD}Testing with Python ${version} failed${NORMAL}"