;;
esac
+ interrupted() {
+ echo "interrupted." >&2
+ exit 1
+ }
+
+ trap interrupted SIGINT
+
exit_status="0"
for version in ${PYTHON_VERSIONS}; do
- if [[ -x /usr/bin/python${version} ]]; then
+ if [[ -x @PORTAGE_PYTHON@${version} ]]; then
echo -e "${GOOD}Testing with Python ${version}...${NORMAL}"
- if ! /usr/bin/python${version} pym/portage/tests/runTests; then
+ if ! @PORTAGE_PYTHON@${version} pym/portage/tests/runTests; then
echo -e "${BAD}Testing with Python ${version} failed${NORMAL}"
exit_status="1"
fi