Fix test error

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-06-16 22:03:44 +01:00
parent 48d8e83472
commit f87e5268ec

View File

@ -3538,9 +3538,9 @@ component_test_aesni () { # ~ 60s
scripts/config.py unset MBEDTLS_AESNI_C scripts/config.py unset MBEDTLS_AESNI_C
msg "AES tests, plain C" msg "AES tests, plain C"
make clean make clean
make test programs/test/selftest CC=gcc CFLAGS='-O2 -Werror' make test programs/test/selftest CC=x86_64-linux-gnu-gcc-10 CFLAGS='-O2 -Werror'
# check that there is no AESNI code present # check that there is no AESNI code present
./programs/test/selftest | grep -qv "AESNI code" || false "AESNI code built when MBEDTLS_AESNI_C unset" ! ( ./programs/test/selftest | grep -q "AESNI code") || false "AESNI code built when MBEDTLS_AESNI_C unset"
} }
component_test_aes_only_128_bit_keys () { component_test_aes_only_128_bit_keys () {