From d2aff9e48c5b27b358367bfb08ad12f112ac28a6 Mon Sep 17 00:00:00 2001 From: Nicolas Beaufort Date: Thu, 9 Oct 2025 09:54:47 +0200 Subject: [PATCH] fix rmw_test_fixture issue --- microros_utils/library_builder.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/microros_utils/library_builder.py b/microros_utils/library_builder.py index d1bda80..f526a29 100644 --- a/microros_utils/library_builder.py +++ b/microros_utils/library_builder.py @@ -98,11 +98,13 @@ def build_dev_environment(self): print("Building micro-ROS dev dependencies") # Fix build: Ignore rmw_test_fixture_implementation in rolling - touch_command = '' + command = '' if self.distro in ('rolling', 'kilted'): touch_command = 'touch src/ament_cmake_ros/rmw_test_fixture_implementation/COLCON_IGNORE && ' + command = "cd {} && {} . {} && colcon build --packages-ignore rmw_test_fixture --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder , touch_command, self.python_env) + else: + command = "cd {} && . {} && colcon build --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder , self.python_env) - command = "cd {} && {} . {} && colcon build --cmake-args -DBUILD_TESTING=OFF -DPython3_EXECUTABLE=`which python`".format(self.dev_folder, touch_command, self.python_env) result = run_cmd(command, env=self.env) if 0 != result.returncode: