From 83596b3d2a2a6fdb9fa2d7f5db1f732e1e27ff24 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Sat, 23 Mar 2013 14:47:04 +0100 Subject: [PATCH] Support more distros / prefer 2.7 --- tools/run_tests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/run_tests.sh b/tools/run_tests.sh index 8f36b339..8af1ad8d 100755 --- a/tools/run_tests.sh +++ b/tools/run_tests.sh @@ -29,11 +29,13 @@ fi if [ -z "${PYTHON}" ]; then which python >/dev/null 2>&1 && PYTHON=$(which python) which python2 >/dev/null 2>&1 && PYTHON=$(which python2) + which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7) fi if [ -z "${NOSE}" ]; then which nosetests >/dev/null 2>&1 && NOSE=$(which nosetests) which nosetests2 >/dev/null 2>&1 && NOSE=$(which nosetests2) + which nosetests-python2.7 >/dev/null 2>&1 && NOSE=$(which nosetests-python2.7) fi if [ -z "${PYTHON}" ]; then