1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-28 00:21:48 +03:00

Update test scripts to use latest/earliest compilers

The Ubuntu 16.04 and 22.04 docker images have been updated with
earliest and latest versions of gcc and clang respectively.
This patch adds the necessary component and support functions
required for the CI to run these compilers.

For FreeBSD we invoke the function by name so a condition is added
to disable the existing test_clang_opt function for linux.

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
This commit is contained in:
Gowtham Suresh Kumar
2023-07-19 08:39:20 +01:00
parent 7fa27a1a18
commit a12baf8c5f
2 changed files with 55 additions and 4 deletions

View File

@ -105,9 +105,21 @@ echo
print_version "gcc" "--version" "" "head -n 1"
echo
print_version "gcc-earliest" "--version" "" "head -n 1"
echo
print_version "gcc-latest" "--version" "" "head -n 1"
echo
print_version "clang" "--version" "" "head -n 2"
echo
print_version "clang-earliest" "--version" "" "head -n 2"
echo
print_version "clang-latest" "--version" "" "head -n 2"
echo
print_version "ldd" "--version" "" "head -n 1"
echo