diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 164c2e99f..90e5f1bd7 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3979,7 +3979,7 @@ build_test_config_combos() { 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 @@ build_test_config_combos() { 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 }