summaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--.gitignore1
-rwxr-xr-xtest/csit/run-csit.sh7
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index ed95eabcc..f3b07b8d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,4 +18,3 @@ env.properties
.vagrant
*~
.checkstyle
-test/testsuite/
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`