Skip to content

Commit 101efef

Browse files
committed
automated: linux: torizon: integration: set UTILS_PATH variable
Replace path repetitions with UTILS_PATH var for cleaner look Signed-off-by: Pawel Szymaszek <[email protected]>
1 parent d691571 commit 101efef

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

automated/linux/torizon/integration-tests.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
set -x
55
. ../../lib/sh-test-lib
66

7+
UTILS_PATH=$(cd ../../utils && pwd)
8+
79
# source the secrets file to get the gitlab_token env var
810
lava_test_dir="$(
911
dir="$(pwd)"
@@ -65,7 +67,7 @@ export SPIRE_PAT_TOKEN LAVA_TOKEN LAVA_PASSWORD SQUAD_UPLOAD_URL SQUAD_ARCHIVE_S
6567
# run tests with uv
6668
uv run robot --pythonpath . --exclude gitlab_pipeline --variable remote:"$IS_REMOTE" --outputdir=.. --listener test/keyword_listener.py test/
6769

68-
../../../utils/upload-to-squad.sh -a ../output.xml -u "$SQUAD_UPLOAD_URL"
69-
uv run --project ../../../utils/ uv run ../../../utils/parse-robot-framework.py -r ../output.xml
70+
"${UTILS_PATH}"/upload-to-squad.sh -a ../output.xml -u "$SQUAD_UPLOAD_URL"
71+
uv run --project "${UTILS_PATH}"/ uv run "${UTILS_PATH}"/parse-robot-framework.py -r ../output.xml
7072

7173
exit 0

0 commit comments

Comments
 (0)