summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2017-09-15 13:17:56 -0700
committerGary Wu <gary.i.wu@huawei.com>2017-09-15 13:17:56 -0700
commit84d2f2061a7130c24a19f40c30fc2a18dbd4aae5 (patch)
treede158d91a0f6bd99a3a336408c754219253df9f7 /test
parent25789a10a60e0d036215b03545265bb784dd9115 (diff)
Install eteutils using a temp directory
Install eteutils using the virtualenv temp directory instead of the $WORKSPACE directory to avoid future directory naming conflicts. Change-Id: I9ab65f00f3453869bd5f9cfea03c3398849a7691 Issue-ID: INT-200 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/csit/run-csit.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/csit/run-csit.sh b/test/csit/run-csit.sh
index a08cba043..5c094f834 100755
--- a/test/csit/run-csit.sh
+++ b/test/csit/run-csit.sh
@@ -94,9 +94,10 @@ if ! type pybot > /dev/null; then
fi
# install eteutils
-rm -rf ${WORKSPACE}/test/testsuite
-git clone https://gerrit.onap.org/r/testsuite/python-testing-utils.git ${WORKSPACE}/test/testsuite/python-testing-utils
-pip install --upgrade ${WORKSPACE}/test/testsuite/python-testing-utils
+mkdir -p ${ROBOT_VENV}/src/onap
+rm -rf ${ROBOT_VENV}/src/onap/testsuite
+git clone https://gerrit.onap.org/r/testsuite/python-testing-utils.git ${ROBOT_VENV}/src/onap/testsuite/python-testing-utils
+pip install --upgrade ${ROBOT_VENV}/src/onap/testsuite/python-testing-utils
WORKDIR=`mktemp -d --suffix=-robot-workdir`