From 2a932f3a4cb29b0e2a1c27edc8337bf6189101f2 Mon Sep 17 00:00:00 2001 From: Vincent Conus Date: Fri, 25 Sep 2026 13:57:33 +0900 Subject: [PATCH] fix rmw_test_fixture issue (#189) --- microros_utils/library_builder.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/microros_utils/library_builder.py b/microros_utils/library_builder.py index d1bda80..45c6d3e 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 = '' - if self.distro in ('rolling', 'kilted'): + command = '' + if self.distro in ('rolling', 'kilted', 'humble'): 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: