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>
diff --git a/.gitignore b/.gitignore
index ed95eab..f3b07b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,4 +18,3 @@
.vagrant
*~
.checkstyle
-test/testsuite/
diff --git a/test/csit/run-csit.sh b/test/csit/run-csit.sh
index a08cba0..5c094f8 100755
--- a/test/csit/run-csit.sh
+++ b/test/csit/run-csit.sh
@@ -94,9 +94,10 @@
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`