This way people don't have to worry about runtests.sh passing for a
specific version when it wasn't found in the system.
trap interrupted SIGINT
unused_args=()
+IGNORE_MISSING_VERSIONS=true
while [ $# -gt 0 ] ; do
case "$1" in
--python-versions=*)
PYTHON_VERSIONS=${1#--python-versions=}
+ IGNORE_MISSING_VERSIONS=false
;;
--python-versions)
shift
PYTHON_VERSIONS=$1
+ IGNORE_MISSING_VERSIONS=false
;;
*)
unused_args[${#unused_args[@]}]=$1
exit_status="1"
fi
echo
+ elif [[ ${IGNORE_MISSING_VERSIONS} != "true" ]] ; then
+ echo -e "${BAD}Could not find requested Python ${version}${NORMAL}"
+ exit_status="1"
fi
done