summaryrefslogtreecommitdiffstats
path: root/csit/run-csit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'csit/run-csit.sh')
-rwxr-xr-xcsit/run-csit.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/csit/run-csit.sh b/csit/run-csit.sh
index f291e34183..aefcc8539f 100755
--- a/csit/run-csit.sh
+++ b/csit/run-csit.sh
@@ -24,7 +24,6 @@
source_safely "${ROBOT3_VENV}/bin/activate"
WORKDIR=$(mktemp -d --suffix=-robot-workdir)
-cd "${WORKDIR}"
#
# functions
@@ -160,6 +159,9 @@ TESTPLANDIR="${WORKSPACE}/${TESTPLAN}"
# Run installation of prerequired libraries
source_safely "${WORKSPACE}/prepare-csit.sh"
+# Use robot framework working directory
+cd "${WORKDIR}"
+
# Add csit scripts to PATH
export PATH="${PATH}:${WORKSPACE}/docker/scripts:${WORKSPACE}/scripts:${ROBOT3_VENV}/bin"
export SCRIPTS="${WORKSPACE}/scripts"