Install eteutils using a temp directory 91/12791/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 15 Sep 2017 20:17:56 +0000 (13:17 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 15 Sep 2017 20:17:56 +0000 (13:17 -0700)
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>
.gitignore
test/csit/run-csit.sh

index ed95eab..f3b07b8 100644 (file)
@@ -18,4 +18,3 @@ env.properties
 .vagrant
 *~
 .checkstyle
-test/testsuite/
index a08cba0..5c094f8 100755 (executable)
@@ -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`