all.sh: Use consistently CONFIG_H
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 800e220..dc5df70 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -542,7 +542,7 @@
exit 1
fi
- if ! git diff --quiet include/mbedtls/mbedtls_config.h; then
+ if ! git diff --quiet "$CONFIG_H"; then
err_msg "Warning - the configuration file 'include/mbedtls/mbedtls_config.h' has been edited. "
echo "You can either delete or preserve your work, or force the test by rerunning the"
echo "script as: $0 --force"
@@ -3172,7 +3172,7 @@
component_test_ccm_aes_sha256() {
msg "build: CCM + AES + SHA256 configuration"
- cp tests/include/test/drivers/config_test_driver.h include/mbedtls/mbedtls_config.h
+ cp tests/include/test/drivers/config_test_driver.h "$CONFIG_H"
cp configs/crypto-config-ccm-aes-sha256.h include/psa/crypto_config.h
make CC=gcc
@@ -3507,7 +3507,7 @@
component_build_tfm_armcc() {
# test the TF-M configuration can build cleanly with various warning flags enabled
- cp configs/tfm_mbedcrypto_config_profile_medium.h include/mbedtls/mbedtls_config.h
+ cp configs/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
cp configs/crypto_config_profile_medium.h include/psa/crypto_config.h
msg "build: TF-M config, armclang armv7-m thumb2"
@@ -3517,7 +3517,7 @@
component_build_tfm() {
# test the TF-M configuration can build cleanly with various warning flags enabled
- cp configs/tfm_mbedcrypto_config_profile_medium.h include/mbedtls/mbedtls_config.h
+ cp configs/tfm_mbedcrypto_config_profile_medium.h "$CONFIG_H"
cp configs/crypto_config_profile_medium.h include/psa/crypto_config.h
msg "build: TF-M config, clang, armv7-m thumb2"