Skip to content

Commit

Permalink
Merge branch 'kp/job-manager' into kp/ban-exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Dec 3, 2024
2 parents b85cc40 + de2ae38 commit c697952
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions nexus_workcell_orchestrator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,26 @@ if(BUILD_TESTING)
# Adds a ament catch2 test with some common libraries.
# Usage: nexus_add_test(<target> <source>...)
function(nexus_add_test target)
ament_add_catch2(${target} src/main_test.cpp ${ARGN})
ament_add_catch2(${target} ${ARGN})
target_link_libraries(${target} PRIVATE
${PROJECT_NAME}_plugin
nexus_common::nexus_common_test
)
endfunction()

nexus_add_test(serialization_tests
src/main_test.cpp
src/serialization_test.cpp
)
nexus_add_test(task_results_tests
src/main_test.cpp
src/task_results_test.cpp
)
nexus_add_test(transform_pose_test src/transform_pose_test.cpp)
nexus_add_test(job_manager_test src/job_manager_test.cpp)
nexus_add_test(job_manager_test
src/main_test.cpp
src/job_manager_test.cpp
)
endif()

ament_package()
2 changes: 1 addition & 1 deletion nexus_workcell_orchestrator/src/job_manager_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include <nexus_common_test/test_utils.hpp>

#include <catch2/catch.hpp>
#include <rmf_utils/catch.hpp>

namespace nexus::workcell_orchestrator::test {

Expand Down

0 comments on commit c697952

Please sign in to comment.