From a300099246cffc2ccd70045279eb0884473a4147 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Fri, 4 Feb 2022 00:21:12 +0100 Subject: [PATCH] Stop CMake out of source tests running on 16.04 (continued) The race condition mentioned in the previous commit "Stop CMake out of source tests running on 16.04" has also been observed with test_cmake_as_subdirectory and can presumably happen with test_cmake_as_package and test_cmake_as_package_install as well. So skip all of these components on Ubuntu 16.04. Signed-off-by: Gilles Peskine --- tests/scripts/all.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index 6e17a91e31..59afac24f5 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -2922,6 +2922,9 @@ component_test_cmake_as_subdirectory () { cd "$MBEDTLS_ROOT_DIR" unset MBEDTLS_ROOT_DIR } +support_test_cmake_as_subdirectory () { + support_test_cmake_out_of_source +} component_test_cmake_as_package () { msg "build: cmake 'as-package' build" @@ -2935,6 +2938,9 @@ component_test_cmake_as_package () { cd "$MBEDTLS_ROOT_DIR" unset MBEDTLS_ROOT_DIR } +support_test_cmake_as_package () { + support_test_cmake_out_of_source +} component_test_cmake_as_package_install () { msg "build: cmake 'as-installed-package' build" @@ -2948,6 +2954,9 @@ component_test_cmake_as_package_install () { cd "$MBEDTLS_ROOT_DIR" unset MBEDTLS_ROOT_DIR } +support_test_cmake_as_package_install () { + support_test_cmake_out_of_source +} component_test_zeroize () { # Test that the function mbedtls_platform_zeroize() is not optimized away by