diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-03-08 02:31:57 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-03-08 09:06:15 +0000 |
commit | d3c6a95ea4b35c01b20d24c14acfaf4260d063a4 (patch) | |
tree | 404d9cdbd5434a9938e706dc41ce6aef6ecdd191 /run_unit_tests.sh | |
parent | c31ad6a2bb181cce941c18e008efa0d44a7dc60a (diff) |
Bugfix: modify test_prepare_env to make verify job successful
Functest verify job failed due to that test_prepare_env.py mistook one
function of ft_utils.execute_command_raise.
Change-Id: Ib3b8ca807308bf5c6d250e7debb4c9e1e106e3d1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-x | run_unit_tests.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh index 8e02880a6..e0660910a 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -26,9 +26,10 @@ pip install $WORKSPACE #install releng cd $WORKSPACE/../ -git clone https://gerrit.opnfv.org/gerrit/releng -pip install releng/modules/ -rm -fr releng +rm -rf releng-unittests +git clone https://gerrit.opnfv.org/gerrit/releng releng-unittests +pip install releng-unittests/modules/ +rm -fr releng-unittests cd $WORKSPACE export CONFIG_FUNCTEST_YAML=$(pwd)/functest/ci/config_functest.yaml @@ -39,6 +40,7 @@ nosetests --with-xunit \ --with-coverage \ --cover-erase \ --cover-tests \ + --cover-package=functest.ci \ --cover-package=functest.cli \ --cover-package=functest.core.testcase_base \ --cover-package=functest.opnfv_tests.sdn.odl.odl \ |