aboutsummaryrefslogtreecommitdiff
path: root/unit-test.sh
diff options
context:
space:
mode:
authorBen Copeland <ben.copeland@linaro.org>2016-03-14 10:20:34 +0000
committerBen Copeland <ben.copeland@linaro.org>2016-03-23 13:15:45 +0000
commitd38a75d6e7078bbbaa3071a8f26c49fd4d37884d (patch)
treeaf40319cb7981ab155b9ab0c9a6a2a45a35ecde6 /unit-test.sh
parent3cd2548a03666c32dc1d58dd9462407193fd85f0 (diff)
unit-test: define python version
Due to some OS'es having virtualenv set to Python 3 by default, virtualenv has now been updated with the Python version Change-Id: Iebcf1cf9cdc49377f075bddb540e0c0669de19a1 Reviewed-on: https://review.linaro.org/10892 Reviewed-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
Diffstat (limited to 'unit-test.sh')
-rwxr-xr-xunit-test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit-test.sh b/unit-test.sh
index 3aca12e..f633587 100755
--- a/unit-test.sh
+++ b/unit-test.sh
@@ -13,7 +13,7 @@ fi
if [ -z $VIRTUAL_ENV ] ; then
echo "creating venv: $VENV_DIR ..."
- virtualenv $VENV_DIR
+ virtualenv --python=`which python2` $VENV_DIR
. $VENV_DIR/bin/activate
pip install -r requirements.txt
fi