diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-02-15 08:31:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-02-15 08:31:01 +0000 |
commit | b605fdd304c4e698c64400338394a7b6f9663017 (patch) | |
tree | f67bd524657458c2a63a87dba01bd2dfc85c802c /run_unit_tests.sh | |
parent | 4d3024ddfee2740249b0eaf5a0e2565426188a03 (diff) | |
parent | 1abee3f31ec5367a37be92ec408c0971f8770cc9 (diff) |
Merge "Releng environment in unit testing."
Diffstat (limited to 'run_unit_tests.sh')
-rwxr-xr-x | run_unit_tests.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/run_unit_tests.sh b/run_unit_tests.sh index 606aedcd5..d60a2d623 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -5,7 +5,7 @@ set -o pipefail # Either Workspace is set (CI) if [ -z $WORKSPACE ] then - WORKSPACE="." + WORKSPACE=`pwd` fi @@ -24,6 +24,13 @@ pip install --upgrade pip 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 |