aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_python.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/run_python.sh')
-rwxr-xr-xtools/run_tests/run_python.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_python.sh b/tools/run_tests/run_python.sh
index cab08f9358..4959c0241c 100755
--- a/tools/run_tests/run_python.sh
+++ b/tools/run_tests/run_python.sh
@@ -36,5 +36,5 @@ cd $(dirname $0)/../..
root=`pwd`
export LD_LIBRARY_PATH=$root/libs/$CONFIG
export DYLD_LIBRARY_PATH=$root/libs/$CONFIG
-source python2.7_virtual_environment/bin/activate
-python2.7 -B $*
+source "python"$PYVER"_virtual_environment"/bin/activate
+"python"$PYVER -B $*