summaryrefslogtreecommitdiffstats
path: root/run_unit_tests.sh
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-05-18 12:28:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-18 12:28:43 +0000
commit59d4e9757e52f452a67bbce48c2ebafc431f4cb1 (patch)
tree9c40193fcc9ead67fbdaf9ff623da2bef5e2860a /run_unit_tests.sh
parent8e6892b8fd6a2e28915c903baf1544c455dc881a (diff)
parent901da0cc00f4817fb9362f587500a93c30c44e0a (diff)
Merge "Clean test-requirements.txt"
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-xrun_unit_tests.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh
index 9780de7ac..86096fabf 100755
--- a/run_unit_tests.sh
+++ b/run_unit_tests.sh
@@ -14,13 +14,16 @@ fi
# ***************
echo "Running unit tests..."
+sudo apt-get install -y build-essential python-dev python-pip
+sudo pip install virtualenv==15.1.0
+
# start vitual env
virtualenv $WORKSPACE/functest_venv
source $WORKSPACE/functest_venv/bin/activate
# install python packages
-sudo apt-get install -y build-essential python-dev python-pip
pip install --upgrade pip
+pip install -r $WORKSPACE/requirements.txt
pip install -r $WORKSPACE/test-requirements.txt
pip install $WORKSPACE