From 15a1db79d641233cebb70e728b46248d63b3e759 Mon Sep 17 00:00:00 2001 From: Christopher Sieh Date: Fri, 18 Oct 2024 10:31:51 +0200 Subject: [PATCH] source jazzy --- rpcl2/tests/rclrs_test.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rpcl2/tests/rclrs_test.bash b/rpcl2/tests/rclrs_test.bash index 0dbc711..cd317a5 100644 --- a/rpcl2/tests/rclrs_test.bash +++ b/rpcl2/tests/rclrs_test.bash @@ -5,16 +5,19 @@ # run rustup to test with latest rust version rustup update +if [ -e "/opt/ros/jazzy/setup.bash" ]; then + . "/opt/ros/jazzy/setup.bash" +fi + if [ -e "/opt/ros/iron/setup.bash" ]; then . "/opt/ros/iron/setup.bash" - . "/ros2_rust_build/install/local_setup.bash" fi if [ -e "/opt/ros/humble/setup.bash" ]; then . "/opt/ros/humble/setup.bash" - . "/ros2_rust_build/install/local_setup.bash" fi +. "/ros2_rust_build/install/local_setup.bash" cd /ros2_rust_build/src/ros_pointcloud2_tests/ || exit "$@"