fix(perception): source ROS setup outside nounset
This commit is contained in:
@@ -74,8 +74,13 @@ failure_stage=core-upstream-tests
|
|||||||
ctest --test-dir /opt/m49/core-build --output-on-failure
|
ctest --test-dir /opt/m49/core-build --output-on-failure
|
||||||
|
|
||||||
failure_stage=ros2-plugin-tests
|
failure_stage=ros2-plugin-tests
|
||||||
|
# ROS 2 environment hooks legitimately probe unset variables. Keep strict mode
|
||||||
|
# for the qualification itself, but do not let nounset turn a standard setup
|
||||||
|
# hook into a false candidate failure.
|
||||||
|
set +u
|
||||||
source /opt/ros/jazzy/setup.bash
|
source /opt/ros/jazzy/setup.bash
|
||||||
source /opt/m49/ros-install/setup.bash
|
source /opt/m49/ros-install/setup.bash
|
||||||
|
set -u
|
||||||
colcon test \
|
colcon test \
|
||||||
--build-base /opt/m49/ros-build \
|
--build-base /opt/m49/ros-build \
|
||||||
--install-base /opt/m49/ros-install \
|
--install-base /opt/m49/ros-install \
|
||||||
|
|||||||
Reference in New Issue
Block a user