From 90dddc68b93b4e92e00ade903b68f398ffef0a23 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Fri, 10 May 2024 14:37:48 +0100 Subject: [PATCH] Add all.sh component for programs without tests Check that we can build under CMake with ENABLE_TESTING=OFF but ENABLE_PROGRAMS=ON. Signed-off-by: David Horstmann --- tests/scripts/all.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index b8eb3a259b..1ceeff84da 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -6339,6 +6339,14 @@ support_build_cmake_custom_config_file () { support_test_cmake_out_of_source } +component_build_cmake_programs_no_testing () { + msg "build: cmake with -DENABLE_PROGRAMS=ON and -DENABLE_TESTING=OFF" + cmake -DENABLE_PROGRAMS=ON -DENABLE_TESTING=OFF . + make +} +support_build_cmake_programs_no_testing () { + support_test_cmake_out_of_source +} component_build_zeroize_checks () { msg "build: check for obviously wrong calls to mbedtls_platform_zeroize()"