Most of modules in ci, openstack are dependent
on opnfv_module. This patch will install the releng
modules in unit test environment.
Credits: https://gerrit.opnfv.org/gerrit/#/c/26501/2/run_unit_tests.sh
Change-Id: Ibc5edeaf8439b8a5e874ee842c119480ed2e517b
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
# Either Workspace is set (CI)
if [ -z $WORKSPACE ]
then
- WORKSPACE="."
+ WORKSPACE=`pwd`
fi
pip install -r $WORKSPACE/test-requirements.txt
pip install $WORKSPACE
+#install releng
+cd $WORKSPACE/../
+git clone https://gerrit.opnfv.org/gerrit/releng
+pip install releng/modules/
+rm -fr releng
+cd $WORKSPACE
+
export CONFIG_FUNCTEST_YAML=$(pwd)/functest/ci/config_functest.yaml
# unit tests
# TODO: remove cover-erase