Replace the from-source `osrf_testing_tools_cpp` package with the ROS 2 Bouncy Debian package
Description
'colcon build' fails even if the 'osrf_testing_tools_cpp/include/osrf_testing_tools_cpp/memory_tools/is_working.hpp' is included using the absolute path.
How to Reproduce
This bug exists when colcon test
is used for the osrf_testing_tools_cpp
:
ade$ colcon test --packages-select osrf_testing_tools_cpp
Current Behavior
/AutowareAuto/src/osrf/osrf_testing_tools_cpp/test_osrf_testing_tools_cpp/test/test_example_memory_tools.cpp:26:3: error: ‘guaranteed_malloc’ is not a member of ‘osrf_testing_tools_cpp::memory_tools’
osrf_testing_tools_cpp::memory_tools::guaranteed_malloc(str);
^
In file included from /AutowareAuto/build/test_osrf_testing_tools_cpp/googletest-1.8.0-extracted/googletest-1.8.0-src/googletest/include/gtest/gtest.h:58:0,
from
AutowareAuto/src/osrf/osrf_testing_tools_cpp/test_osrf_testing_tools_cpp/test/test_is_not_working.cpp:15:
/AutowareAuto/src/osrf/osrf_testing_tools_cpp/test_osrf_testing_tools_cpp/test/test_is_not_working.cpp: In member function ‘virtual void TestMemoryTools_test_is_not_working_Test::TestBody()’:
/AutowareAuto/src/osrf/osrf_testing_tools_cpp/test_osrf_testing_tools_cpp/test/test_is_not_working.cpp:31:16: error: ‘is_working’ is not a member of ‘osrf_testing_tools_cpp::memory_tools’
ASSERT_FALSE(osrf_testing_tools_cpp::memory_tools::is_working());
Workaround: add AMENT_IGNORE in src/osrf/osrf_testing_tools_cpp/test_osrf_testing_tools_cpp
Expected behavior
The unmodified package is able to build, and all tests pass.
/label ~bug
Edited by Lyle Johnson