diff --git a/rpcl2/tests/r2r_test.bash b/rpcl2/tests/r2r_test.bash index 322fe92..53283a8 100644 --- a/rpcl2/tests/r2r_test.bash +++ b/rpcl2/tests/r2r_test.bash @@ -5,6 +5,10 @@ # run rustup to test with latest rust version rustup update +if [ -e "/opt/ros/jazzy/setup.bash" ]; then + source "/opt/ros/jazzy/setup.bash" +fi + if [ -e "/opt/ros/iron/setup.bash" ]; then source "/opt/ros/iron/setup.bash" fi