aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_python.sh
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-06-29 09:20:26 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-07-09 12:41:04 -0700
commite5f7002617ffa001e9d0eba9a65fb161ef152889 (patch)
tree9c888b0e523923222d8d06d184572479444483bf /tools/run_tests/run_python.sh
parent743c10ccd5b404edc695f2db6c8693a94b85d8c1 (diff)
Add Python3 testing support
Conditionally runs the tests depending on the availability of Python versions (because Travis is the worst).
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 $*