runtests.sh: propagate arguments to runTests
authorZac Medico <zmedico@gentoo.org>
Sun, 1 May 2011 14:18:42 +0000 (07:18 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 1 May 2011 14:20:04 +0000 (07:20 -0700)
runtests.sh

index 6c00ce530ef5e3f722ad11044f2334ab7259174e..668701cc61d095237008d21499c4b5357c9ab97e 100755 (executable)
@@ -26,7 +26,7 @@ exit_status="0"
 for version in ${PYTHON_VERSIONS}; do
        if [[ -x /usr/bin/python${version} ]]; then
                echo -e "${GOOD}Testing with Python ${version}...${NORMAL}"
-               if ! /usr/bin/python${version} pym/portage/tests/runTests; then
+               if ! /usr/bin/python${version} pym/portage/tests/runTests "$@" ; then
                        echo -e "${BAD}Testing with Python ${version} failed${NORMAL}"
                        exit_status="1"
                fi