aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Peskine <Gilles.Peskine@arm.com>2022-02-04 00:21:12 +0100
committerGilles Peskine <Gilles.Peskine@arm.com>2022-02-04 00:32:58 +0100
commita300099246cffc2ccd70045279eb0884473a4147 (patch)
tree43f6e831b014d61e88c81dc656a86e6d95dd9ce4
parenta18fb9d9acf08e5824fe1957eb88411025631834 (diff)
downloadmbedtls-a300099246cffc2ccd70045279eb0884473a4147.zip
mbedtls-a300099246cffc2ccd70045279eb0884473a4147.tar.gz
mbedtls-a300099246cffc2ccd70045279eb0884473a4147.tar.bz2
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 <Gilles.Peskine@arm.com>
-rwxr-xr-xtests/scripts/all.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 6e17a91..59afac2 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