mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
Some checks failed
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[CLANG_TIDY:pedantic IMAGE:rolling-source]) (push) Has been cancelled
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[DOCKER_RUN_OPTS:-e PRELOAD=libasan.so.8 -e LSAN_OPTIONS="suppressions=$PWD/.github/workflows/lsan.suppressio… (push) Has been cancelled
CI / ${{ matrix.env.IMAGE }}${{ matrix.env.NAME && ' • ' || ''}}${{ matrix.env.NAME }}${{ matrix.env.CLANG_TIDY && ' • clang-tidy' || '' }} (map[IMAGE:rolling-source NAME:ccov TARGET_CMAKE_ARGS:-DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="--coverage"]) (push) Has been cancelled
Format / pre-commit (push) Has been cancelled
16 lines
578 B
CMake
16 lines
578 B
CMake
#############
|
|
## Testing ##
|
|
#############
|
|
|
|
## Add gtest based cpp test target
|
|
if (BUILD_TESTING AND NOT (CMAKE_CXX_FLAGS MATCHES "-fsanitize"))
|
|
find_package(ament_cmake_gtest REQUIRED)
|
|
find_package(launch_testing_ament_cmake REQUIRED)
|
|
find_package(moveit_task_constructor_core REQUIRED)
|
|
|
|
ament_add_gtest_executable(test_execution test_task_execution.cpp)
|
|
add_launch_test(test_execution.launch.py TARGET test_execution
|
|
ARGS "test_binary:=$<TARGET_FILE:test_execution>")
|
|
target_link_libraries(test_execution ${moveit_task_constructor_core_TARGETS})
|
|
endif()
|