aboutsummaryrefslogtreecommitdiffstats
path: root/run_unit_tests.sh
diff options
context:
space:
mode:
authorhelenyao <yaohelan@huawei.com>2016-12-05 22:24:43 -0500
committerhelenyao <yaohelan@huawei.com>2016-12-05 22:50:58 -0500
commit04150507cb6ebc7085d40e2f09c5006e685eedce (patch)
treea8ab56c7e3f3e741acbf3e2fa1d84a739f339b52 /run_unit_tests.sh
parent4d8205412586812dc9523988aad66cf9e000e31e (diff)
test-requirements.txt is added for unit test.
JIRA: FUNCTEST-639 Some requirement packages are only needed by unit test and there is no need to include them in requirement.txt. This is the main reason to create a test-requirements.txt to hold all packages required by unit test. Change-Id: Iefa9f54b57666d30044ec174adfeb22d63b6b139 Signed-off-by: helenyao <yaohelan@huawei.com>
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-xrun_unit_tests.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh
index 9f7bb504..05b3c4ee 100755
--- a/run_unit_tests.sh
+++ b/run_unit_tests.sh
@@ -43,7 +43,9 @@ source $WORKSPACE/functest_venv/bin/activate
# install python packages
easy_install -U setuptools
easy_install -U pip
-pip install -r $WORKSPACE/requirements.txt
+pip install -r $WORKSPACE/test-requirements.txt
+
+
pip install -e $WORKSPACE
python $WORKSPACE/setup.py develop