tidy up
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 164c2e9..90e5f1b 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -3979,7 +3979,7 @@
clang_args=""
for ((j = 0; j < ${len}; j++)); do
if (((i >> j) & 1)); then
- opt=-D${options[j]}
+ opt=-D${options[$j]}
clang_args="${clang_args} ${opt}"
target="${target}${opt}"
fi
@@ -4007,11 +4007,11 @@
validate_aes_config_variations() {
if [[ "$1" == *"MBEDTLS_AES_USE_HARDWARE_ONLY"* ]]; then
if [[ "$1" == *"MBEDTLS_PADLOCK_C"* ]]; then
- echo 1
+ echo INVALID
fi
if [[ !(("$HOSTTYPE" == "aarch64" && "$1" != *"MBEDTLS_AESCE_C"*) || \
("$HOSTTYPE" == "x86_64" && "$1" != *"MBEDTLS_AESNI_C"*)) ]]; then
- echo 1
+ echo INVALID
fi
fi
}