summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-07 08:16:32 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-07 08:16:32 +0000
commitf5851a6b598edf2a727ae411f5136a23d346cf66 (patch)
tree3c0c15ad0dcca6352714ea750c45d039597fd1de
parentb6664d297b65a2e06610131e5036e3c37cae4356 (diff)
parent010ccc19dc86ee10c13e8d48f19df481b75e1e17 (diff)
Merge "Get rid of easy_install in unit test"
-rwxr-xr-xrun_unit_tests.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh
index 05b3c4ee2..ecd57d8ae 100755
--- a/run_unit_tests.sh
+++ b/run_unit_tests.sh
@@ -41,14 +41,10 @@ virtualenv $WORKSPACE/functest_venv
source $WORKSPACE/functest_venv/bin/activate
# install python packages
-easy_install -U setuptools
-easy_install -U pip
+sudo apt-get install -y build-essential python-dev python-pip
+pip install --upgrade pip
pip install -r $WORKSPACE/test-requirements.txt
-
-
-pip install -e $WORKSPACE
-
-python $WORKSPACE/setup.py develop
+pip install $WORKSPACE
export CONFIG_FUNCTEST_YAML=$(pwd)/functest/ci/config_functest.yaml
# unit tests