mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-25 09:02:48 +00:00
Fix making the path of the outcomes file absolute.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
6ffebef9c4
commit
d10f42f5e6
@ -93,8 +93,18 @@ if [ "$is_crypto" -eq 0 -a "$is_mbedtls" -eq 0 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Invoke the real thing
|
# Invoke the real thing
|
||||||
if [ "$is_crypto" -eq 1 ]; then
|
if [ "$is_crypto" -eq 1 ]; then
|
||||||
|
# Make sure the path to the outcomes file is absolute. This is done by
|
||||||
|
# pre_prepare_outcome_file() however by the time it runs we've already
|
||||||
|
# changed the working directory, so do it now.
|
||||||
|
if [ -n "${MBEDTLS_TEST_OUTCOME_FILE+set}" ]; then
|
||||||
|
case "$MBEDTLS_TEST_OUTCOME_FILE" in
|
||||||
|
[!/]*) MBEDTLS_TEST_OUTCOME_FILE="$PWD/$MBEDTLS_TEST_OUTCOME_FILE";;
|
||||||
|
esac
|
||||||
|
export MBEDTLS_TEST_OUTCOME_FILE
|
||||||
|
fi
|
||||||
cd tf-psa-crypto
|
cd tf-psa-crypto
|
||||||
exec tests/scripts/all.sh "$@"
|
exec tests/scripts/all.sh "$@"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user