From 97b31d8ca304d97bbc2c4e7435e4ce621ff1fc7d Mon Sep 17 00:00:00 2001 From: Jerry Yu Date: Tue, 21 Feb 2023 14:52:33 +0800 Subject: [PATCH] Revert "Disable clang tests" This reverts commit e908c57f95d05cac83bb9532ba50a82e925e3df1. Signed-off-by: Jerry Yu --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a97a3c2ef..3d735bb5c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -112,7 +112,7 @@ jobs: addons: apt: packages: - - gcc + - clang - gnutls-bin script: # See above @@ -122,7 +122,7 @@ jobs: - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT - scripts/config.py unset MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY - make generated_files - - make CFLAGS='-march=armv8-a+crypto -O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all' + - make CC=clang CFLAGS='-march=armv8-a+crypto -O3 -Werror -fsanitize=address,undefined -fno-sanitize-recover=all' LDFLAGS='-Werror -fsanitize=address,undefined -fno-sanitize-recover=all' # GnuTLS supports CAMELLIA but compat.sh doesn't properly enable it. - tests/compat.sh -p GnuTLS -e 'CAMELLIA' - tests/scripts/travis-log-failure.sh