Omit PYTHONPATH setting in runtests.sh since this should be handled
authorZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 18:45:11 +0000 (11:45 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 8 Sep 2010 18:45:11 +0000 (11:45 -0700)
internally by pym/portage/tests/runTests.

runtests.sh

index 2ba05e3e2666927a87d51ac1c7983fb08dc038fc..c228dce56cdf775133dab137e6fc02dc88ce88d1 100755 (executable)
@@ -19,7 +19,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 ! PYTHONPATH="pym${PYTHONPATH:+:}${PYTHONPATH}" /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