From 413c7b8e8f9267c2e5ead30988d9301276a68663 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Fri, 6 Dec 2024 08:56:08 +0100 Subject: [PATCH] Do not run tests with QEMU See https://github.com/gazebosim/gz-transport/issues/561 --- recipe/build_cxx.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/build_cxx.sh b/recipe/build_cxx.sh index eaea24d..3afee74 100644 --- a/recipe/build_cxx.sh +++ b/recipe/build_cxx.sh @@ -17,7 +17,9 @@ cmake ${CMAKE_ARGS} -GNinja .. \ cmake --build . --config Release -if [[ ("${CONDA_BUILD_CROSS_COMPILATION:-}" != "1" || "${CROSSCOMPILING_EMULATOR}" != "") && "${target_platform}" != osx-* ]]; then +# Skip tests during cross-compilation as the QEMU emulator is not supported, +# see https://github.com/gazebosim/gz-transport/issues/561 +if [[ ("${CONDA_BUILD_CROSS_COMPILATION:-}" != "1") && "${target_platform}" != osx-* ]]; then ctest -R '^ControlBoard|^ClockTest|^ConfigurationParsingTest' --output-on-failure --repeat until-pass:5 -C Release fi