From 0eb2dc11c41934eef53b51d1bdd52e86c375b27e Mon Sep 17 00:00:00 2001 From: Thomas Daubney <thomas.daubney@arm.com> Date: Tue, 14 Nov 2023 16:56:45 +0000 Subject: [PATCH] Call the right function Correct erroneous function call Signed-off-by: Thomas Daubney <thomas.daubney@arm.com> --- tests/scripts/check-generated-files.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/scripts/check-generated-files.sh b/tests/scripts/check-generated-files.sh index 84fbbda914..410f44eb05 100755 --- a/tests/scripts/check-generated-files.sh +++ b/tests/scripts/check-generated-files.sh @@ -28,7 +28,8 @@ in_mbedtls_repo () { in_tf_psa_crypto_repo () { test -d include -a -d core -a -d drivers -a -d programs -a -d tests -} +} + if in_mbedtls_repo; then library_dir='library' elif in_tf_psa_crypto_repo; then @@ -133,7 +134,7 @@ check tests/scripts/generate_psa_tests.py $(tests/scripts/generate_psa_tests.py check scripts/generate_driver_wrappers.py $library_dir/psa_crypto_driver_wrappers.h $library_dir/psa_crypto_driver_wrappers_no_static.c # Additional checks for Mbed TLS only -if in_mbedtls_build_dir; then +if in_mbedtls_repo; then check scripts/generate_errors.pl library/error.c check scripts/generate_query_config.pl programs/test/query_config.c check scripts/generate_features.pl library/version_features.c