summaryrefslogtreecommitdiffstats
path: root/run_unit_tests.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-05-17 17:41:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-05-17 19:37:50 +0200
commit901da0cc00f4817fb9362f587500a93c30c44e0a (patch)
tree6fe03c0a93af8a34d45e4bb21ebb7fa2dcb7af27 /run_unit_tests.sh
parent57da7080488785813adcaff4e2410e2338dccf2a (diff)
Clean test-requirements.txt
Now only the mandatory requirements related to unit testing are listed in test-requirements.txt. Change-Id: I2f17a9e18e90d779ddc80b1ace9ac770a76c3385 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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