Skip to content

Commit 610fd86

Browse files
authored
add note about default working directory for ament_add_test (ros2#448)
1 parent 63dc686 commit 610fd86

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

source/Releases/Release-Foxy-Fitzroy.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,14 @@ New features in this ROS 2 release
3636

3737
During the development the `Foxy meta-ticket <https://github.com/ros2/ros2/issues/830>`__ on GitHub contains an up-to-date state of the ongoing high level tasks as well as references specific tickets with more details.
3838

39-
Changes since the Dashing release
40-
---------------------------------
39+
Changes since the Eloquent release
40+
----------------------------------
41+
42+
Default working directory for ament_add_test
43+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44+
45+
The default working directory for tests added with ``ament_add_test`` has been changed to ``CMAKE_CURRENT_BINARY_DIR`` to match the behavior of CMake ``add_test``.
46+
Either update the tests to work with the new default or pass ``WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}`` to restore the previous value.
4147

4248
Default Console Logging Format
4349
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)