From 8993fecae47ec5b7c2853c3f2c654213e12a97bf Mon Sep 17 00:00:00 2001 From: Elena Uziunaite Date: Wed, 20 Nov 2024 16:28:01 +0000 Subject: [PATCH] Define FRAMEWORK Signed-off-by: Elena Uziunaite --- tests/scripts/mbedtls-all.sh | 3 ++- tf-psa-crypto/tests/scripts/all.sh | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/scripts/mbedtls-all.sh b/tests/scripts/mbedtls-all.sh index a1b062aac..089cb6b9e 100755 --- a/tests/scripts/mbedtls-all.sh +++ b/tests/scripts/mbedtls-all.sh @@ -10,6 +10,7 @@ # This script must be invoked from the project's root. -source framework/scripts/all-core.sh +FRAMEWORK="$PWD/framework" +source $FRAMEWORK/scripts/all-core.sh main "$@" diff --git a/tf-psa-crypto/tests/scripts/all.sh b/tf-psa-crypto/tests/scripts/all.sh index 86b06099d..9c7547b8b 100755 --- a/tf-psa-crypto/tests/scripts/all.sh +++ b/tf-psa-crypto/tests/scripts/all.sh @@ -19,10 +19,12 @@ fi if [ -d ../include/mbedtls -a -d ../framework ]; then # Running inside an mbedtls checkout: get the framework from mbedtls. - source ../framework/scripts/all-core.sh + FRAMEWORK="$PWD/../framework" else # Running standalone: use our own framework. - source framework/scripts/all-core.sh + FRAMEWORK="$PWD/framework" fi +source $FRAMEWORK/scripts/all-core.sh + main "$@"