From a79ba2179bc4eb70c59eb6d7d2e53d563d08b6bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 8 Oct 2024 09:51:15 +0200 Subject: [PATCH 1/2] Refs #21826. Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- test/dds/communication/dyn_network/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/dds/communication/dyn_network/CMakeLists.txt b/test/dds/communication/dyn_network/CMakeLists.txt index 0d95ac665e0..f0cc224e273 100644 --- a/test/dds/communication/dyn_network/CMakeLists.txt +++ b/test/dds/communication/dyn_network/CMakeLists.txt @@ -16,7 +16,8 @@ message(STATUS "Configuring dynamic network interfaces tests") # Find docker find_program(DOCKER_EXECUTABLE docker) if(NOT DOCKER_EXECUTABLE) - message(FATAL_ERROR "Docker not found") + message(WARNING "Docker executable not found. dds.communication.dynamic_interfaces test won't be compiled.") + return() endif() set(SHELL_EXECUTABLE "") From 5a028088d574e52e0c0b67052c2c8a67b3eec50a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Wed, 9 Oct 2024 07:58:00 +0200 Subject: [PATCH 2/2] Refs #21826. Apply suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno --- test/dds/communication/dyn_network/CMakeLists.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/dds/communication/dyn_network/CMakeLists.txt b/test/dds/communication/dyn_network/CMakeLists.txt index f0cc224e273..1ea9b5e6eb0 100644 --- a/test/dds/communication/dyn_network/CMakeLists.txt +++ b/test/dds/communication/dyn_network/CMakeLists.txt @@ -29,7 +29,8 @@ if(UNIX AND NOT(APPLE) AND NOT(QNXNTO) AND NOT(ANDROID)) # Find bash find_program(BASH_EXECUTABLE bash) if(NOT BASH_EXECUTABLE) - message(FATAL_ERROR "bash not found") + message(WARNING "bash executable not found. dds.communication.dynamic_interfaces test won't be compiled.") + return() endif() set(SHELL_EXECUTABLE ${BASH_EXECUTABLE}) @@ -37,11 +38,12 @@ if(UNIX AND NOT(APPLE) AND NOT(QNXNTO) AND NOT(ANDROID)) # Windows configurations elseif(WIN32) # We don't know which docker image to use for Windows yet - message(FATAL_ERROR "Windows not supported yet") - + message(WARNING "Windows not supported yet. dds.communication.dynamic_interfaces test won't be compiled.") + return() # Unsupported platform else() - message(FATAL_ERROR "Unsupported platform") + message(WARNING "Unsupported platform. dds.communication.dynamic_interfaces test won't be compiled.") + return() endif() # Configure TinyXML2 library path if installed in user library path