Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4d047a2

Browse files
committed
fix ament not registering executables as tests
1 parent 801a2e7 commit 4d047a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ if(ament_cmake_FOUND AND BUILD_TESTING)
3737

3838
find_package(ament_cmake_gtest REQUIRED)
3939

40-
ament_add_gtest_executable(${BTCPP_LIBRARY}_test ${BT_TESTS})
40+
ament_add_gtest(${BTCPP_LIBRARY}_test ${BT_TESTS})
4141
target_link_libraries(${BTCPP_LIBRARY}_test
4242
${TEST_DEPENDECIES}
4343
${ament_LIBRARIES})

0 commit comments

Comments
 (0)